- cleanup l10n

This commit is contained in:
Сергей Турчин 2017-05-16 15:19:09 +03:00 committed by Michael Shigorin
parent dd1ed169e2
commit 65398a221d
2 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,7 @@ rm -rf /usr/lib/qt4/plugins/codecs
rm -rf /usr/lib/qt4/plugins/bearer
rm -rf /usr/lib/qt4/plugins/inputmethods
rm -rf /usr/share/qt4/{doc,mkspecs,phrasebooks}
rm -rf /usr/lib*/qt5/plugins/{bearer,platformthemes}
rm -rf /usr/share/guile/*/{*.txt,scripts}
rm -rf /usr/share/awk/

View File

@ -26,3 +26,10 @@ find /usr/lib/locale -mindepth 1 -maxdepth 1 -type d \! -name '*.utf8' -print0 |
# dangling symlinks
find /usr/lib/locale \! -readable -delete
find /usr/share/qt5/translations/ -type f | \
grep -v -e '/qtbase_[[:alpha:]][[:alpha:]]*\.qm$' \
-e '/alterator_browser_qt_[[:alpha:]][[:alpha:]]*\.qm$' | \
while read f; do
rm -f "$f"
done