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

dnprogs.spec

index 3be1d6befb4987f9d88a952e9737306fb455c414..5a881d427d40fa0343f59f54cf42fa99d7feda75 100644 (file)
@@ -84,14 +84,14 @@ install scripts/decnet.sh $RPM_BUILD_ROOT/etc/rc.d/init.d/decnet
 rm -rf $RPM_BUILD_ROOT
 
 %post 
-NAME=decnet; %chkconfig_add
+/sbin/chkconfig --add decnet
 /sbin/ldconfig
 
-%preun
-NAME=decnet; %chkconfig_del
-
 %postun
 /sbin/ldconfig
+if [ $1 = 0 ]; then
+    /sbin/chkconfig --del decnet
+fi
 
 %files
 %defattr(644,root,root,755)
This page took 0.081418 seconds and 4 git commands to generate.