]> git.pld-linux.org Git - packages/courier-imap.git/commitdiff
- stop courier-imap in %preun only if runed. courier-imap-0_21-1
authorkloczek <kloczek@pld-linux.org>
Tue, 28 Dec 1999 01:43:03 +0000 (01:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    courier-imap.spec -> 1.5

courier-imap.spec

index 80a3fed9c47e583b443cc0df4702b8cd4991dfba..630d7bf74f59d5d1543d6214f50af1d473df2ed1 100644 (file)
@@ -64,8 +64,10 @@ fi
 
 %preun
 if [ "$1" = "0" ]; then
+       if [ -f /var/lock/subsys/courier-imap ]; then
+               /etc/rc.d/init.d/courier-imap stop >&2
+       fi
        /sbin/chkconfig --del courier-imap
-       /etc/rc.d/init.d/courier-imap stop >&2
 fi
 
 %clean
This page took 0.034897 seconds and 4 git commands to generate.