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

fbset.spec

index b382a39f7d5387e7f194e99596e64ba4e58ef6af..83118c5580286bc5a37133f38844220a181c6eba 100644 (file)
@@ -45,12 +45,10 @@ install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/fbset
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/fbset
 
 %post
-/sbin/chkconfig --add fbset
+%chkconfig_add
 
 %preun
-if [ "$1" = "0" ]; then
-       /sbin/chkconfig --del fbset
-fi
+%chkconfig_del
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.068689 seconds and 4 git commands to generate.