From 52b01fd3d903710d8437ecb9f51524fe8981a38b Mon Sep 17 00:00:00 2001 From: linggao Date: Fri, 9 Oct 2009 17:52:40 +0000 Subject: [PATCH] enable reporting output in otherpkgs git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4331 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/otherpkgs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xCAT/postscripts/otherpkgs b/xCAT/postscripts/otherpkgs index 89255ceb9..9af7cdb3f 100755 --- a/xCAT/postscripts/otherpkgs +++ b/xCAT/postscripts/otherpkgs @@ -218,14 +218,14 @@ if [ "$repo_pkgs_preremove" != "" ]; then if [ $hasyum -eq 1 ]; then echo "yum -y removel $repo_pkgs_preremove" result=`yum -y remove $repo_pkgs_preremove 2>&1` - ###echo "$result" + echo "$result" if [ $? -ne 0 ]; then logger "otherpkgs: $result" fi elif [ $haszypper -eq 1 ]; then echo "zypper remove -y $repo_pkgs_preremove" result=`zypper remove -y $repo_pkgs_preremove 2>&1` - ###echo "$result" + echo "$result" if [ $? -ne 0 ]; then logger "otherpkgs: $result" fi @@ -247,14 +247,14 @@ if [ "$repo_pkgs" != "" ]; then if [ $hasyum -eq 1 ]; then echo "yum -y install $repo_pkgs" result=`yum -y install $repo_pkgs 2>&1` - ###echo "$result" + echo "$result" if [ $? -ne 0 ]; then logger "otherpkgs: $result" fi elif [ $haszypper -eq 1 ]; then echo "zypper install -y $repo_pkgs" result=`zypper install -y $repo_pkgs 2>&1` - ###echo "$result" + echo "$result" if [ $? -ne 0 ]; then logger "otherpkgs: $result" fi @@ -309,14 +309,14 @@ if [ "$repo_pkgs_postremove" != "" ]; then if [ $hasyum -eq 1 ]; then echo "yum -y removel $repo_pkgs_postremove" result=`yum -y remove $repo_pkgs_postremove 2>&1` - ###echo "$result" + echo "$result" if [ $? -ne 0 ]; then logger "otherpkgs: $result" fi elif [ $haszypper -eq 1 ]; then echo "zypper remove -y $repo_pkgs_postremove" result=`zypper remove -y $repo_pkgs_postremove 2>&1` - ###echo "$result" + echo "$result" if [ $? -ne 0 ]; then logger "otherpkgs: $result" fi