mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-17 11:50:32 +00:00
bug 3474 for removing the rpm error message on ubuntu/debian
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -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`
|
||||
|
Reference in New Issue
Block a user