]> git.pld-linux.org Git - packages/emu10k1-utils.git/commitdiff
- 2.6.x support auto/ac/emu10k1-utils-0_9_4-5
authorwolf <wolf@pld-linux.org>
Tue, 27 Apr 2004 16:01:22 +0000 (16:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel 5

Changed files:
    emu10k1-utils.spec -> 1.25

emu10k1-utils.spec

index 6e79e593a241f320278df09094a8e9c7feb9a354..b9b2494140d8e56ccea7ed59e72e4710ac109b69 100644 (file)
@@ -3,7 +3,7 @@ Summary:        Utils controlling emu10k1 processor
 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
@@ -148,15 +148,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %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)
This page took 0.119547 seconds and 4 git commands to generate.