From fb420f633069cc1d9b587af83a789858c8890134 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Fri, 8 Mar 2013 03:06:21 +0000 Subject: [PATCH] sync from trunk git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15427 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/debian/postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT/debian/postinst b/xCAT/debian/postinst index 01c5d1c5f..68a15f6a8 100644 --- a/xCAT/debian/postinst +++ b/xCAT/debian/postinst @@ -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