]> git.pld-linux.org Git - packages/dnprogs.git/blobdiff - dnprogs.spec
- reverting last change: removing new macros from %p{re,ost}{,un}
[packages/dnprogs.git] / 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.06193 seconds and 4 git commands to generate.