Summary(pl): Narzêdzia kontroluj±ce procesor emu10k1
Name: emu10k1-utils
Version: 0.9.4
-Release: 4
+Release: 5
License: GPL
Group: Applications/Sound
Source0: http://dl.sourceforge.net/emu10k1/emu-tools-%{version}.tar.gz
%post autoconfig
umask 027
-grep "post-install emu10k1 /usr/bin/emu-script" /etc/modules.conf > /dev/null
+grep "install emu10k1 /sbin/modprobe --ignore-install emu10k1 && { /usr/bin/emu-script; }" /etc/modprobe.conf > /dev/null
if [ "$?" -eq "1" ]; then
- echo "post-install emu10k1 /usr/bin/emu-script" >> /etc/modules.conf
+ echo "install emu10k1 /sbin/modprobe --ignore-install emu10k1 && { /usr/bin/emu-script; }" >> /etc/modprobe.conf
fi
%postun autoconfig
umask 027
-grep -v "post-install emu10k1 /usr/bin/emu-script" /etc/modules.conf > /etc/modules.conf.new
-mv -f /etc/modules.conf.new /etc/modules.conf
+grep -v "install emu10k1 /sbin/modprobe --ignore-install emu10k1 && { /usr/bin/emu-script; }" /etc/modprobe.conf > /etc/modprobe.conf.new
+mv -f /etc/modprobe.conf.new /etc/modprobe.conf
%files
%defattr(644,root,root,755)