bug fix in otherpkgs, keep the repofile because sometimes the error is caused by other repos
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15737 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5ae42f335c
commit
cb3ccba715
@ -641,8 +641,8 @@ while [ $op_index -le $OTHERPKGS_INDEX ]; do
|
||||
if [ $? -eq 0 ]; then
|
||||
rc=0
|
||||
array_set_element repo_path $index $path
|
||||
else
|
||||
rm $REPOFILE
|
||||
#else
|
||||
#rm $REPOFILE
|
||||
fi
|
||||
elif [ $haszypper -eq 1 ]; then
|
||||
#use zypper
|
||||
@ -692,7 +692,7 @@ while [ $op_index -le $OTHERPKGS_INDEX ]; do
|
||||
RETURNVAL=$?
|
||||
fi
|
||||
logger -p local4.info -t xcat "$result"
|
||||
echo "result"
|
||||
echo "$result"
|
||||
elif [ $haszypper -eq 1 ]; then
|
||||
echo "zypper --non-interactive update --auto-agree-with-license"
|
||||
result=`zypper --non-interactive update --auto-agree-with-license 2>&1`
|
||||
|
Loading…
Reference in New Issue
Block a user