summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-04-18 22:22:03 +0000
committerChris Lumens <clumens@redhat.com>2007-04-18 22:22:03 +0000
commit9778d5d617206b17ceb880e9f8d70216ea910dbe (patch)
tree2a6745076c039bd70880b1ff57995582774740d9 /scripts
parent12cd258f41de8ec140634d3ac07da4d2074b9f4e (diff)
downloadanaconda-9778d5d617206b17ceb880e9f8d70216ea910dbe.tar.gz
anaconda-9778d5d617206b17ceb880e9f8d70216ea910dbe.tar.xz
anaconda-9778d5d617206b17ceb880e9f8d70216ea910dbe.zip
Don't delete locale-archive when trying to save space, since that's where all
the locales are now stored (#236978).
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/upd-instroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 73fda2b2a..15d26f32a 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -997,7 +997,7 @@ cat $DESTGR/usr/lib/anaconda/lang-table* | awk '
' | sed -e 's/latn/Latn/g' | LC_ALL=C sort -u > $DESTGR/locales
for p in lib share; do (
cd $DESTGR/usr/$p/locale && {
-ls | grep -v locale.alias | LC_ALL=C sort > $DESTGR/locales.list
+ls | grep -v locale.alias | grep -v locale-archive | LC_ALL=C sort > $DESTGR/locales.list
LC_ALL=C comm -13 $DESTGR/locales $DESTGR/locales.list | xargs rm -rf
}
); done