]> git.pld-linux.org Git - packages/cups.git/commitdiff
- post & preun: s/cupsd/cups/g to enable cupsd restart & stop
authoryoshi <yoshi@pld-linux.org>
Tue, 9 Dec 2003 23:46:56 +0000 (23:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cups.spec -> 1.92

cups.spec

index 0f8afed469c72a1f544251b94871d3fe8e2a1007..9117fcf8f0107e67e2a19d8b554dc2ab15843d91 100644 (file)
--- a/cups.spec
+++ b/cups.spec
@@ -14,7 +14,7 @@ Summary(pt_BR):       Sistema Unix de Impress
 Name:          cups
 %define        rcver   rc6
 Version:       1.1.20
-Release:       0.%{rcver}.1
+Release:       0.%{rcver}.2
 Epoch:         1
 License:       GPL/LGPL
 Group:         Applications/Printing
@@ -300,7 +300,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/chkconfig --add cups
-if [ -f /var/lock/subsys/cupsd ]; then
+if [ -f /var/lock/subsys/cups ]; then
        /etc/rc.d/init.d/cups restart 1>&2
 else
        echo "Run \"/etc/rc.d/init.d/cups start\" to start cups daemon."
@@ -308,7 +308,7 @@ fi
 
 %preun
 if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/cupsd ]; then
+       if [ -f /var/lock/subsys/cups ]; then
                /etc/rc.d/init.d/cups stop 1>&2
        fi
        /sbin/chkconfig --del cups
This page took 0.03264 seconds and 4 git commands to generate.