Commit 3927ac21 authored by Michael Shigorin's avatar Michael Shigorin

install2: more locale cleanups

My gut feeling is that we're not going to see glib2's messages a lot within installer environment anyways. And there's a forgotten /usr/share/X11/locale/ too.
parent d871db16
#!/bin/sh
# drop unused l10n/i18n data
# preparations
rpm -e --nodeps glib2-locales
# the fell swoop
find /usr/share/locale/ -type f \! -name 'alterator*' -delete
rm -rf /usr/share/zoneinfo/{posix,right}/
......@@ -12,10 +15,10 @@ rm -f /usr/lib*/gconv/BIG5*
rm -f /usr/lib*/gconv/EBCDIC*
# en_* variations
rm -rf /usr/{lib,share}/locale/en_[^U]*
rm -rf /usr/{lib,share{,/X11}}/locale/en_[^U]*
# mods
rm -rf /usr/{lib,share}/locale/*@*
rm -rf /usr/{lib,share{,/X11}}/locale/*@*
# non-utf8 locales
find /usr/lib/locale -mindepth 1 -maxdepth 1 -type d \! -name '*.utf8' -print0 |
......
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