From 69fc999d2852f38a4a9bd617b52fc3a1700651c8 Mon Sep 17 00:00:00 2001 From: saq Date: Thu, 26 Jul 2001 05:42:04 +0000 Subject: [PATCH] - reverting last change: removing new macros from %p{re,ost}{,un} Changed files: aumix.spec -> 1.68 --- aumix.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/aumix.spec b/aumix.spec index 714a380..acbb528 100644 --- a/aumix.spec +++ b/aumix.spec @@ -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 -- 2.44.0