]> git.pld-linux.org Git - packages/bftpd.git/commitdiff
- use macros in %{pre,post}{,un}
authorsaq <saq@pld-linux.org>
Wed, 25 Jul 2001 16:30:42 +0000 (16:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- need rebuilt rpm (with new macros.pld) to build these

Changed files:
    bftpd.spec -> 1.9

bftpd.spec

index 3745c2312d343b2bb45d827437bd8df069f1600e..5d847ca9bc6e26df66becc002271a4c2f660779c 100644 (file)
@@ -61,16 +61,10 @@ gzip -9nf README CHANGELOG
 rm -rf $RPM_BUILD_ROOT
 
 %post
-if [ -f /var/lock/subsys/rc-inetd ]; then
-       /etc/rc.d/init.d/rc-inetd restart 1>&2
-else
-       echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet sever" 1>&2
-fi
+%rc_inetd_post
 
 %postun
-if [ "$1" = "0" -a -f /var/lock/subsys/rc-inetd ]; then
-       /etc/rc.d/init.d/rc-inetd restart
-fi
+%rc_inetd_postun
 
 %files
 %defattr(644,root,root,755)
This page took 0.121858 seconds and 4 git commands to generate.