]> git.pld-linux.org Git - packages/proftpd.git/commitdiff
- fixed %%preun standalone; release 3
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 22 Mar 2002 10:22:42 +0000 (10:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    proftpd.spec -> 1.124

proftpd.spec

index 4b76426d7c9a08b579092f4f553a7af171655ca9..8ba9cb195da50166440b91e9cc658235c07c86f2 100644 (file)
@@ -14,7 +14,7 @@ Summary(pl):  PROfesionalny serwer FTP
 Summary(pt_BR):        Servidor FTP profissional, com sintaxe de configuração semelhante à do apache
 Name:          proftpd
 Version:       1.2.5rc1
-Release:       2
+Release:       3
 Epoch:         0
 License:       GPL
 Group:         Daemons
@@ -260,10 +260,12 @@ else
 fi
 
 %preun standalone
-if [ "$1" = "0" -a -f /var/lock/subsys/proftpd ]; then
-       /etc/rc.d/init.d/proftpd stop 1>&2
+if [ "$1" = "0" ]; then
+       if [ -f /var/lock/subsys/proftpd ]; then
+               /etc/rc.d/init.d/proftpd stop 1>&2
+       fi
+       /sbin/chkconfig --del proftpd
 fi
-/sbin/chkconfig --del proftpd
 
 %files common
 %defattr(644,root,root,755)
This page took 0.034846 seconds and 4 git commands to generate.