Changed files:
aumix.spec -> 1.68
%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"
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