From 6b1b4f2253b709382b0150fd69db2e024538a75e Mon Sep 17 00:00:00 2001 From: xq2005 Date: Mon, 4 Nov 2013 23:39:47 -0800 Subject: [PATCH] bug 3824: systeimager install failed on sles10 golden client --- xCAT/postscripts/otherpkgs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xCAT/postscripts/otherpkgs b/xCAT/postscripts/otherpkgs index 21f16d010..022d583fb 100755 --- a/xCAT/postscripts/otherpkgs +++ b/xCAT/postscripts/otherpkgs @@ -692,7 +692,12 @@ EOF` rc=0 array_set_element repo_path $index $path else - result=`zypper sd xcat-otherpkgs$index` + if ( pmatch "$OSVER" "sles10*" );then + rc=0 + array_set_element repo_path $index $path + else + result=`zypper sd xcat-otherpkgs$index` + fi fi elif [ $hasapt -eq 1 ]; then #use apt