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

aumix.spec

index 714a3806522c70111280799854fe96b0d5ba1f5e..acbb528d3ea91f374f9bd5e65629585b1c6926ba 100644 (file)
@@ -134,8 +134,7 @@ gzip -9nf AUTHORS BUGS ChangeLog NEWS README TODO
 %find_lang %{name}
 
 %post OSS-preserve-settings
-
-%chkconfig_posst
+/sbin/chkconfig --add aumix
 if [ ! -f /var/lock/subsys/aumix ]; then
        echo "Run \"/etc/rc.d/init.d/aumix start\" to initialize saving/restoring"
        echo "sound card mixer's settings on system shutdown/startup, and then"
@@ -143,7 +142,12 @@ if [ ! -f /var/lock/subsys/aumix ]; then
 fi
 
 %preun OSS-preserve-settings
-%chkconfig_del
+if [ "$1" = "0" ]; then
+       if [ -f /var/lock/subsys/aumix ]; then
+               /etc/rc.d/init.d/aumix stop
+       fi
+       /sbin/chkconfig --del aumix
+fi
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.03332 seconds and 4 git commands to generate.