Fix problem where xCAT-server failed to always detect an rpm upgrade

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-04-25 19:49:20 +00:00
parent 96483c24fe
commit ca0849536a

View File

@ -143,7 +143,7 @@ elif [ -x /sbin/chkconfig ]; then
else
echo "Unable to register init scripts on this system"
fi
if [ "$1" = "2" ]; then #only on upgrade...
if [ "$1" -gt "1" ]; then #only on upgrade...
/etc/init.d/xcatd restart
fi
%endif