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

am-utils.spec

index 0a84b0b897010dc02c01f6086f03320156d953c3..1710e532157b4289eb77dd2ca4247bc77b0d1e14 100644 (file)
@@ -73,15 +73,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/ldconfig
-NAME=amd; %chkconfig_add
-%fix_info_dir
-
-%preun
-NAME=amd; %chkconfig_del
+/sbin/chkconfig --add amd
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %postun
-%fix_info_dir
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 /sbin/ldconfig
+if [ $1 = 0 ]; then
+    /sbin/chkconfig --del amd
+fi
 
 %files
 %defattr(644,root,root,755)
This page took 0.086633 seconds and 4 git commands to generate.