stage2: do not remove cjk and legacy fonts
This has no effect on the size of the squashfs, but does create unexpected problems.
This commit is contained in:
parent
910545c722
commit
822bcfc9fe
@ -1,26 +0,0 @@
|
||||
#!/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*
|
||||
|
||||
:
|
@ -1,21 +0,0 @@
|
||||
#!/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*
|
||||
|
||||
:
|
Loading…
x
Reference in New Issue
Block a user