From 30d39849988832f8874e1437e6c929b411c53942 Mon Sep 17 00:00:00 2001 From: linggao Date: Sat, 30 Mar 2013 02:10:38 +0000 Subject: [PATCH] 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/trunk@15736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/otherpkgs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT/postscripts/otherpkgs b/xCAT/postscripts/otherpkgs index a9ff9ce20..d96f57a10 100755 --- a/xCAT/postscripts/otherpkgs +++ b/xCAT/postscripts/otherpkgs @@ -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`