summaryrefslogtreecommitdiffstats
path: root/scripts/upd-instroot
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-09-24 20:57:34 +0000
committerJeremy Katz <katzj@redhat.com>2002-09-24 20:57:34 +0000
commit1102ec1b1c742e2587f27497bb23435fe6f567a0 (patch)
treed685dcc41f785794ebcbf3b44fe322a5a6b1f409 /scripts/upd-instroot
parent323efc6ce131679721efed3d0dfa374ead7552d7 (diff)
downloadanaconda-1102ec1b1c742e2587f27497bb23435fe6f567a0.tar.gz
anaconda-1102ec1b1c742e2587f27497bb23435fe6f567a0.tar.xz
anaconda-1102ec1b1c742e2587f27497bb23435fe6f567a0.zip
move this to be after the definition. oops
Diffstat (limited to 'scripts/upd-instroot')
-rwxr-xr-xscripts/upd-instroot12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index ed19ca197..454036f9c 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -22,18 +22,18 @@ if [ ! -d $1 ]; then
LATEST="latest --arch $ARCH"
fi
-if [ $ARCH = x86_64 ]; then
- LIBDIR=lib64
-else
- LIBDIR=lib
-fi
-
PACKAGEDIR=$1
if [ -z "$ARCH" ]; then
ARCH=`rpm -qp --qf "%{ARCH}" $PACKAGEDIR/anaconda-runtime*.rpm`
fi
+if [ $ARCH = x86_64 ]; then
+ LIBDIR=lib64
+else
+ LIBDIR=lib
+fi
+
NEEDGR=yes
prunePackageList() {