From 06a88f4597dc1165ef08bd82d8c2a1ef59431504 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 30 Oct 2009 16:58:08 +0000 Subject: do not stop service during install (or else shorewall will be stopped because moved in another package, making the install hang for a while) --- del-service | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1