stage2, lowmem: update cleanup hooks for qt5
There's /usr/share/qt5/translations/ now too, handle that. OTOH we've got some CJK support already, time to split up those "cleanups" into some target locale set dependent form.
This commit is contained in:
parent
5147dd43d8
commit
457c00b823
@ -6,7 +6,7 @@ cd /usr/share/fonts/bitmap/misc/ &&
|
||||
|
||||
# drop unneeded translation
|
||||
# FIXME: whitelist is reasonable
|
||||
cd /usr/share/qt4/translations/ &&
|
||||
cd /usr/share/qt?/translations/ &&
|
||||
rm -f *_ar* *_cs* *_da* *_de* *_es* *_fa* *_fr* \
|
||||
*_gl* *_he* *_hu* *_ko* *_pl* \
|
||||
*_sk* *_sl* *_sv*
|
||||
|
@ -8,7 +8,7 @@ cd /usr/share/fonts/bitmap/misc/ &&
|
||||
rm -f *ja.* *ko.* han* gb* jis* k14* rk* *rk.* *kana* cl* *JIS*
|
||||
|
||||
# drop unneeded translations
|
||||
cd /usr/share/qt4/translations/ && rm -f *_zh* *_ja*
|
||||
cd /usr/share/qt?/translations/ && rm -f *_zh* *_ja*
|
||||
|
||||
# l10n
|
||||
cd /usr/share/X11/locale && rm -rf ja* ko* th* vi* zh*
|
||||
|
Loading…
Reference in New Issue
Block a user