the wrong repository path on sles, correct it

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@15235 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2013-02-22 05:49:59 +00:00
parent 2579006170
commit db9f372318

View File

@ -108,6 +108,11 @@ if [ $OSPKGDIR == $default_pkgdir ]; then
OSPKGDIR="$OSPKGDIR/Server"
fi
fi
if ( pmatch "$OSVER" "sles*" ); then
OSPKGDIR="$OSPKGDIR/1"
elif ( pmatch "$OSVER" "SL5*" ); then
OSPKGDIR="$OSPKGDIR/SL"
fi
fi