]> git.pld-linux.org Git - packages/apcupsd.git/commitdiff
- replace non-existent %chkconfig_{post,preun} macros with
authorsaq <saq@pld-linux.org>
Wed, 25 Jul 2001 22:51:56 +0000 (22:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
%chkconfig_{add,del} (thanks qboosh)

Changed files:
    apcupsd.spec -> 1.19

apcupsd.spec

index 3fd0bba7b5b6ae358b61e0ffaba761399edb9ec0..f3dbbd842296d462e82cd759dbd1c4406f4a9961 100644 (file)
@@ -55,7 +55,7 @@ rm -rf ${RPM_BUILD_ROOT}
 
 %post
 /sbin/ldconfig
 
 %post
 /sbin/ldconfig
-%chkconfig_post
+%chkconfig_add
 
 #if !(grep /sbin/powersc /etc/rc.d/init.d/halt > /dev/null); then
 cp -f /etc/rc.d/init.d/halt /etc/rc.d/init.d/halt.rpmorig
 
 #if !(grep /sbin/powersc /etc/rc.d/init.d/halt > /dev/null); then
 cp -f /etc/rc.d/init.d/halt /etc/rc.d/init.d/halt.rpmorig
@@ -78,7 +78,7 @@ fi\
 
 
 %preun
 
 
 %preun
-%chkconfig_preun
+%chkconfig_del
 
 %files
 %defattr(644,root,root,755)
 
 %files
 %defattr(644,root,root,755)
This page took 0.069522 seconds and 4 git commands to generate.