bug 3474 for removing the rpm error message on ubuntu/debian

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2013-06-25 13:51:47 +00:00
parent 0eecf43a7e
commit 2ff3e57296

View File

@ -393,7 +393,7 @@ hasdpkg=0
supdatecommand="rpm -Uvh --replacepkgs"
sremovecommand="rpm -ev"
result=`rpm --version`
result=`rpm --version 2>/dev/null`
if [ $? -eq 0 ]; then
hasrpm=1
result=`rpm -q yum`