summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/upd-instroot8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index e90abcd76..7a92a34ac 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -983,9 +983,11 @@ for p in $DEST $DESTGR; do
$p/usr/lib/anaconda-runtime/fixmtime.py $DEBUG $p
done
-if [ -f $DESTGR/usr/lib/locale/locale-archive.tmpl ]; then
- mv $DESTGR/usr/lib/locale/locale-archive.tmpl $DESTGR/usr/lib/locale/locale-archive
-fi
+for p in $DEST $DESTGR; do
+ if [ -f $p/usr/lib/locale/locale-archive.tmpl ]; then
+ mv $p/usr/lib/locale/locale-archive.tmpl $p/usr/lib/locale/locale-archive
+ fi
+done
# Remove locales unused during the install
cat $DESTGR/usr/lib/anaconda/lang-table* | awk '