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:
Michael Shigorin 2015-12-04 20:56:49 +03:00
parent 5147dd43d8
commit 457c00b823
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ cd /usr/share/fonts/bitmap/misc/ &&
# drop unneeded translation # drop unneeded translation
# FIXME: whitelist is reasonable # FIXME: whitelist is reasonable
cd /usr/share/qt4/translations/ && cd /usr/share/qt?/translations/ &&
rm -f *_ar* *_cs* *_da* *_de* *_es* *_fa* *_fr* \ rm -f *_ar* *_cs* *_da* *_de* *_es* *_fa* *_fr* \
*_gl* *_he* *_hu* *_ko* *_pl* \ *_gl* *_he* *_hu* *_ko* *_pl* \
*_sk* *_sl* *_sv* *_sk* *_sl* *_sv*

View File

@ -8,7 +8,7 @@ cd /usr/share/fonts/bitmap/misc/ &&
rm -f *ja.* *ko.* han* gb* jis* k14* rk* *rk.* *kana* cl* *JIS* rm -f *ja.* *ko.* han* gb* jis* k14* rk* *rk.* *kana* cl* *JIS*
# drop unneeded translations # drop unneeded translations
cd /usr/share/qt4/translations/ && rm -f *_zh* *_ja* cd /usr/share/qt?/translations/ && rm -f *_zh* *_ja*
# l10n # l10n
cd /usr/share/X11/locale && rm -rf ja* ko* th* vi* zh* cd /usr/share/X11/locale && rm -rf ja* ko* th* vi* zh*