build xCAT on debian/ubuntu

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15382 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2013-03-05 05:35:25 +00:00
parent 2bdbf688ab
commit 59e4b3df05

View File

@ -24,7 +24,7 @@ case "$1" in
mkdir -p /var/run/xcat
cp -f /opt/xcat/share/xcat/scripts/xHRM /install/postscripts/
. /etc/profile.d/xcat.sh
if [ -f /tmp/xCAT_upgrade ]
if [ -f /tmp/xCAT_upgrade.tmp ]
then
if [ -r "/tmp/xcat/installservice.pid" ]; then
mv /tmp/xcat/installservice.pid /var/run/xcat/installservice.pid
@ -36,7 +36,7 @@ case "$1" in
mv /tmp/xcat/mainservice.pid /var/run/xcat/mainservice.pid
fi
xcatconfig -u
rm /tmp/xCAT_upgrade
rm /tmp/xCAT_upgrade.tmp
else
xcatconfig -i -d -s
fi