]> git.pld-linux.org Git - packages/atm.git/commitdiff
- reverting last change: removing new macros from %p{re,ost}{,un}
authorsaq <saq@pld-linux.org>
Thu, 26 Jul 2001 05:42:04 +0000 (05:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    atm.spec -> 1.21

atm.spec

index 4745eb0fd8e4f9b2f55a3e8dbca2bed17ff36e03..5a094dfc3bff0618d22d30c901b86cc5d7aa7c55 100644 (file)
--- a/atm.spec
+++ b/atm.spec
@@ -1,4 +1,4 @@
-# $Revision: 1.20 $ $Date: 2001-07-25 22:51:57 $
+# $Revision: 1.21 $ $Date: 2001-07-26 05:42:04 $
 Summary:       ATM on Linux
 Summary(pl):   ObsĀ³uga sieci ATM w Linuxie
 Name:          atm
@@ -94,10 +94,18 @@ gzip -9nf doc/usage.txt BUGS CREDITS CHANGES README config/pld/README.PLD
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%chkconfig_add
+/sbin/chkconfig --add atm
+if [ -f /var/lock/subsys/atm ]; then
+       /etc/rc.d/init.d/atm restart 1>&2
+fi
 
 %preun
-%chkconfig_del
+if [ "$1" = "0" ]; then
+       if [ -f /var/lock/subsys/atm ]; then
+               /etc/rc.d/init.d/atm stop 1>&2
+       fi
+       /sbin/chkconfig --del atm
+fi
 
 %files
 %defattr(644,root,root,755)
This page took 0.069194 seconds and 4 git commands to generate.