You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
566 B
26 lines
566 B
3 years ago
|
#!/bin/sh
|
||
|
|
||
|
# don't cripple the image to be copied over
|
||
|
[ -x /usr/sbin/live-install -o -x /usr/sbin/livecd-install ] && exit 0
|
||
|
|
||
|
# remove unused fonts
|
||
|
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/qt?/translations/ && rm -f *_zh* *_ja*
|
||
|
|
||
|
# l10n
|
||
|
cd /usr/share/X11/locale && rm -rf ja* ko* th* vi* zh*
|
||
|
|
||
|
# xkb
|
||
|
cd /usr/share/X11/xkb/symbols && rm -rf jp kr th vn cn
|
||
|
|
||
|
# locales
|
||
|
cd /usr/lib/locale && rm -rf ja_* ko_* th_* zh_*
|
||
|
|
||
|
# gconv
|
||
|
cd /usr/lib*/gconv && rm -f JIS* T*
|
||
|
|
||
|
:
|