]> git.pld-linux.org Git - packages/cups.git/commitdiff
- Release 19. cups-1_1_14-19
authormkochano <mkochano@pld-linux.org>
Sun, 28 Jul 2002 19:37:01 +0000 (19:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Corrected lock names in post/postun.

Changed files:
    cups.spec -> 1.49

cups.spec

index b876ebe6787558ce13afdea7c3c2563faa99d51a..f156c74c0409fc94758c134673d3312fa27ccd22 100644 (file)
--- a/cups.spec
+++ b/cups.spec
@@ -3,7 +3,7 @@ Summary(pl):    Popularny System Druku dla Unixa
 Summary(pt_BR):        Sistema Unix de Impressão
 Name:          cups
 Version:       1.1.14
-Release:       18
+Release:       19
 Epoch:         1
 License:       GPL/LGPL
 Group:         Applications/System
@@ -183,7 +183,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/chkconfig --add cups
-if [ -f /var/lock/subsys/cups ]; then
+if [ -f /var/lock/subsys/cupsd ]; then
         /etc/rc.d/init.d/cups restart 1>&2
 else
         echo "Run \"/etc/rc.d/init.d/cups start\" to start cups daemon."
@@ -191,7 +191,7 @@ fi
 
 %preun
 if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/cups ]; then
+       if [ -f /var/lock/subsys/cupsd ]; then
                /etc/rc.d/init.d/cups stop 1>&2
        fi
        /sbin/chkconfig --del cups
This page took 0.152936 seconds and 4 git commands to generate.