added non-interactive in zypper calls in otherpkgs postscript

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5600 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2010-03-29 20:40:57 +00:00
parent 09c1993c5e
commit 5a8c284b38

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/sh
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
#-------------------------------------------------------------------------------
@ -85,11 +85,13 @@ else
do
result=`zypper sd $x`
done
zypper refresh
zypper --non-interactive refresh
repo_base="/tmp"
fi
fi
dhcpcd -n eth0
repo_path=()
repo_pkgs=""
@ -189,7 +191,7 @@ do
result=`zypper sa -c $REPOFILE`
fi
result=`zypper refresh xcat-otherpkgs$index 2>&1`
result=`zypper --non-interactive refresh xcat-otherpkgs$index 2>&1`
if [ $? -eq 0 ]; then
rc=0
repo_path[${#repo_path[*]}]=$path