Commit 0b0ad61b authored by Michael Shigorin's avatar Michael Shigorin

install2: split 85cleanup-legacy off 85cleanup-cjk

We have several categories of overhead data: - legacy 8-bit fonts, locales and gconv modules; - illegible fonts (e.g. 5x7 or 6x10); - obsolete vendor specific stuff; - CJK (which would require proper support anyways). Notes: - JIS and things like VISCII are 8-bit either and thus might be reconsidered as "legacy"; - proper CJK support would probably include scalable fonts and an input method helper; - main target audience is rather ru/uk/be by now. (dropped wireless from install2 either)
parent 50e0779f
......@@ -2,28 +2,21 @@
# remove unused fonts
cd /usr/share/fonts/bitmap/misc/ &&
rm -f *ja.* *ko.* han* gb* jis* k14* rk* *rk.* *kana* cl* \
*ISO* *JIS* *KOI*
# TODO: sort out the rest of *x*
rm -f *ja.* *ko.* han* gb* jis* k14* rk* *rk.* *kana* cl* *JIS*
# drop unneeded translation
cd /usr/share/qt4/translations/ &&
rm -f *_zh* *_ja*
# drop unneeded translations
cd /usr/share/qt4/translations/ && rm -f *_zh* *_ja*
# ...l10n...
cd /usr/share/X11/locale &&
rm -rf *[^C8]/ ja* ko* th* vi* zh* iso*
# l10n
cd /usr/share/X11/locale && rm -rf ja* ko* th* vi* zh*
# xkb
cd /usr/share/X11/xkb/symbols &&
rm -rf *_vndr jp kr th vn cn
# gconv
cd /usr/lib*/gconv &&
rm -f CP* ISO* KOI* *JIS* T* HP* MAC*
cd /usr/share/X11/xkb/symbols && rm -rf jp kr th vn cn
# locales
cd /usr/lib*/locale &&
rm -rf ja_* ko_* th_* zh_*
cd /usr/lib*/locale && rm -rf ja_* ko_* th_* zh_*
# gconv
cd /usr/lib*/gconv && rm -f JIS* T*
:
#!/bin/sh
# remove unused legacy/tiny fonts
cd /usr/share/fonts/bitmap/misc/ && rm -f *ISO* *KOI* [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*
:
......@@ -53,6 +53,7 @@ rm -rf /lib/modules/*/kernel/drivers/media
rm -rf /lib/modules/*/kernel/drivers/mmc
rm -rf /lib/modules/*/kernel/drivers/mtd*
rm -rf /lib/modules/*/kernel/drivers/net/irda
rm -rf /lib/modules/*/kernel/drivers/net/wireless
rm -rf /lib/modules/*/kernel/drivers/staging
rm -rf /lib/modules/*/kernel/drivers/spi
rm -rf /lib/modules/*/kernel/drivers/telephony
......
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