Commit 822bcfc9 authored by Anton Midyukov's avatar Anton Midyukov

stage2: do not remove cjk and legacy fonts

This has no effect on the size of the squashfs, but does create unexpected problems.
parent 910545c7
#!/bin/sh
# don't cripple the image to be copied over
[ -x /usr/sbin/live-install -o -x /usr/sbin/livecd-install -o -n "$GLOBAL_LIVE_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*
:
#!/bin/sh
# don't cripple the image to be copied over
[ -x /usr/sbin/live-install -o -x /usr/sbin/livecd-install -o -n "$GLOBAL_LIVE_INSTALL" ] &&
exit 0
# remove unused legacy/tiny fonts
#cd /usr/share/fonts/bitmap/misc/ && rm -f *ISO* *KOI* [1456]*
cd /usr/share/fonts/bitmap/misc/ && rm -f [1456]*
# l10n
cd /usr/share/X11/locale/ && rm -rf *[^C8]/ iso*
# xkb
cd /usr/share/X11/xkb/symbols && rm -rf *_vndr
# gconv
#cd /usr/lib*/gconv && rm -f CP* ISO* *JIS* KOI* HP* MAC*
cd /usr/lib*/gconv && rm -f CP* *JIS* HP* MAC*
:
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