diff --git a/xCAT/postscripts/otherpkgs b/xCAT/postscripts/otherpkgs index 6cb819a26..b4b2cc911 100755 --- a/xCAT/postscripts/otherpkgs +++ b/xCAT/postscripts/otherpkgs @@ -85,17 +85,17 @@ if [[ $OSTYPE = linux* ]]; then fi - #try zypper --- TODO: get a SLES cluster and test - #rpm -q zypper - #if [ $? -eq 0 ]; then + #try zypper + rpm -q zypper + if [ $? -eq 0 ]; then #use zypper - #zypper sa ftp://$SIP/post/otherpkgs/$OSVER/$ARCH/1 + zypper sa ftp://$SIP/post/otherpkgs/$OSVER/$ARCH/1 #install - #PKGS=`echo "$OTHERPKGS" | tr "," " "` - #zypper install -y $PKGS - #exit 0 - #fi + PKGS=`echo "$OTHERPKGS" | tr "," " "` + zypper install -y $PKGS + exit 0 + fi fi #if it is not handled by the above code, we will use wget to handle it