]> git.pld-linux.org Git - packages/freeradius.git/commitdiff
- reverting last change: removing new macros from %p{re,ost}{,un}
authorsaq <saq@pld-linux.org>
Thu, 26 Jul 2001 05:42:07 +0000 (05:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    freeradius.spec -> 1.5

freeradius.spec

index ca3368cc6965578a87d69fa83782b080a2199b9f..e7cecaf397265460bb7c5d1fcf064b875afd4b26 100644 (file)
@@ -93,11 +93,15 @@ install radiusd-logrotate $RPM_BUILD_ROOT/etc/logrotate.d/radiusd
 install radiusd-pam       $RPM_BUILD_ROOT/etc/pam.d/radius
 cd ..
 
-%post
-NAME=radiusd.init; %chkconfig_add
-
 %preun
-NAME=radiusd.init; %chkconfig_del
+if [ "$1" = "0" ]; then
+       /sbin/chkconfig --del radiusd.init
+fi
+
+%postin
+if [ "$1" = "0" ]; then
+       /sbin/chkconfig --add radiusd.init
+fi
 
 %clean
 %{__rm} -rf $RPM_BUILD_ROOT
This page took 0.050143 seconds and 4 git commands to generate.