Commit 457c00b8 authored by Michael Shigorin's avatar Michael Shigorin

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.
parent 5147dd43
...@@ -6,7 +6,7 @@ cd /usr/share/fonts/bitmap/misc/ && ...@@ -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*
......
...@@ -8,7 +8,7 @@ cd /usr/share/fonts/bitmap/misc/ && ...@@ -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*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment