]> git.pld-linux.org Git - packages/bftpd.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:
    bftpd.spec -> 1.10

bftpd.spec

index 5d847ca9bc6e26df66becc002271a4c2f660779c..3745c2312d343b2bb45d827437bd8df069f1600e 100644 (file)
@@ -61,10 +61,16 @@ gzip -9nf README CHANGELOG
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%rc_inetd_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
 
 %postun
-%rc_inetd_postun
+if [ "$1" = "0" -a -f /var/lock/subsys/rc-inetd ]; then
+       /etc/rc.d/init.d/rc-inetd restart
+fi
 
 %files
 %defattr(644,root,root,755)
This page took 0.112348 seconds and 4 git commands to generate.