]> git.pld-linux.org Git - packages/rsync.git/commitdiff
- use macros in %{pre,post}{,un}
authorsaq <saq@pld-linux.org>
Wed, 25 Jul 2001 16:31:00 +0000 (16:31 +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:
    rsync.spec -> 1.48

rsync.spec

index 7ab56a262b9513f78afde297ceeed668cc826974..a2d8c03ea490259174739a85d2c98ddcce8de5fa 100644 (file)
@@ -95,16 +95,10 @@ install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/rsyncd
 gzip -9nf README 
 
 %post -n rsyncd
-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 -n rsyncd
-if [ "$1" = "0" -a -f /var/lock/subsys/rc-inetd ]; then
-       /etc/rc.d/init.d/rc-inetd reload 1>&2
-fi
+%rc_inetd_postun
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.166704 seconds and 4 git commands to generate.