mkimage-profiles/sub.in/install2/image-scripts.d/85cleanup-cjk
Michael Shigorin c91a2a0994 syslinux and features
- syslinux: menu.c32 works
- features: initial draft
  + memtest
- mv pkg/ pkg.in/
  + server-base: include openssh-blacklist by default
- mv isodata/ copy/
- README: changed to utf8, added an URL
2011-11-03 20:38:35 +02:00

28 lines
530 B
Bash
Executable File

#!/bin/sh
# remove unused fonts
cd /usr/share/fonts/bitmap/misc/
rm -f *ja.* *ko.* han* gb* jis* k14* rk* *rk.* *kana* cl*
rm -f *ISO* *JIS* *KOI*
# TODO: sort out the rest of *x*
# drop unneeded translation
cd /usr/share/qt4/translations/
rm -f *_zh* *_ja*
# ...l10n...
cd /usr/share/X11/locale
rm -rf *[^C8]/ ja* ko* th* vi* zh* iso*
# 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*
# locales
cd /usr/lib*/locale
rm -rf ja_* ko_* th_* zh_*