diff options
Diffstat (limited to 'scripts/upd-instroot')
-rwxr-xr-x | scripts/upd-instroot | 12 |
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() { |