]> git.pld-linux.org Git - packages/ftpd-BSD.git/commitdiff
- use macros in %{pre,post}{,un}
authorsaq <saq@pld-linux.org>
Wed, 25 Jul 2001 16:30:44 +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:
    ftpd-BSD.spec -> 1.37

ftpd-BSD.spec

index 3a7ccb3e595a05bc5c3e1efbac225c3c4432a56d..327c134d09f32558c0f071e32d268eb7b512089b 100644 (file)
@@ -76,16 +76,10 @@ install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/ftpd/ftpusers
 gzip -9nf README
 
 %post
-if [ -f /var/lock/subsys/rc-inetd ]; then
-       /etc/rc.d/init.d/rc-inetd reload 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 [ -f /var/lock/subsys/rc-inetd ]; then
-       /etc/rc.d/init.d/rc-inetd reload
-fi
+%rc_inetd_postun
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.041294 seconds and 4 git commands to generate.