bug 3824: systeimager install failed on sles10 golden client

This commit is contained in:
xq2005 2013-11-04 23:34:59 -08:00
parent 107c598a46
commit f6ea3147a7

View File

@ -682,7 +682,9 @@ while [ $op_index -le $OTHERPKGS_INDEX ]; do
if ( pmatch "$OSVER" "sles11*" ); then
result=`zypper ar -c $REPOFILE`
else
result=`zypper sa -c $REPOFILE`
result=`zypper sa -r $REPOFILE << EOF
y
EOF`
fi
result=`zypper --non-interactive refresh xcat-otherpkgs$index 2>&1`