diff options
author | Matt Wilson <msw@redhat.com> | 2000-05-11 19:48:53 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-05-11 19:48:53 +0000 |
commit | b0bc9678609a0e0bd43095afc7859684399604ac (patch) | |
tree | 1e4f5c767977b06e8adabd063bfda91c6a8395e5 /scripts | |
parent | b7bbbd4c62a0e74f923aafa0809c9ca5ea5fdb23 (diff) | |
download | anaconda-b0bc9678609a0e0bd43095afc7859684399604ac.tar.gz anaconda-b0bc9678609a0e0bd43095afc7859684399604ac.tar.xz anaconda-b0bc9678609a0e0bd43095afc7859684399604ac.zip |
only compress .mo files in stage2 images
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/upd-instroot | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot index 32b1b6e3c..a88aa7f48 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -502,14 +502,17 @@ for p in $DEST $DESTGR; do grep '^./[A-Z]' | sort | sed 's/^..//' | gzip -9) > $p/usr/lib/timezones.gz - if [ -d $p/usr/share/locale ]; then - for i in `find $p/usr/share/locale -name anaconda.mo`; do - gzip -9 $i - mv -f $i.gz $i - done - fi echo -n -e "\rScrubbing trees..." "$(echo $p | sed 's/./ /g')" done + +echo -e "\nCompressing .mo files in stage2 images..." +if [ -d $DEST/usr/share/locale ]; then + for i in `find $DEST/usr/share/locale -name anaconda.mo`; do + gzip -9 $i + mv -f $i.gz $i + done +fi + echo -e "\rScrubbing trees..." echo "Patching python library..." |