summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjakub <jakub>2000-02-15 14:35:42 +0000
committerjakub <jakub>2000-02-15 14:35:42 +0000
commitc192be896169ac17849118f0609359a289dfca43 (patch)
tree7d8a8c7ebe75c0762c02ad7ae9593234f94f9c26
parent874c18d3fd295c8f4c8930df66ecc9a8b13af280 (diff)
downloadanaconda-c192be896169ac17849118f0609359a289dfca43.tar.gz
anaconda-c192be896169ac17849118f0609359a289dfca43.tar.xz
anaconda-c192be896169ac17849118f0609359a289dfca43.zip
Kill warnings.
-rwxr-xr-xupd-instroot12
1 files changed, 7 insertions, 5 deletions
diff --git a/upd-instroot b/upd-instroot
index 4ff23e5dc..62c4df1d9 100755
--- a/upd-instroot
+++ b/upd-instroot
@@ -361,7 +361,7 @@ rm -rf $DEST/usr/share/locale
make install DESTDIR=$DESTGR > /dev/null
for p in $DESTGR $DEST; do
- rm $p/usr/lib/anaconda/lang-table
+ rm -f $p/usr/lib/anaconda/lang-table
ln -s ../lib/anaconda/raidstart-stub $p/usr/bin/raidstart
ln -s ../lib/anaconda/raidstop-stub $p/usr/bin/raidstop
@@ -398,10 +398,12 @@ for p in $DESTGR $DEST; do
grep '^./[A-Z]' | sort | sed 's/^..//' |
gzip -9) > $p/usr/lib/timezones.gz
- for i in `find $p/usr/share/locale -name anaconda.mo`; do
- gzip -9 $i
- mv -f $i.gz $i
- done
+ 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
done
# always use passive mode for ftp installs