aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdel-service4
1 files changed, 3 insertions, 1 deletions
diff --git a/del-service b/del-service
index f13aea6..5f62689 100755
--- a/del-service
+++ b/del-service
@@ -20,7 +20,9 @@ num=$2 # number of packages installed
srv=$3 # name of the service
if [ $num = 0 ]; then
- /sbin/service $srv stop > /dev/null || :
+ if [ -z "$DURING_INSTALL" ]; then
+ /sbin/service $srv stop > /dev/null || :
+ fi
/sbin/chkconfig --del $srv
fi