The following commit has been merged in the master branch:
commit db7ffe711efea19da736b01aade42eac44003cf6
Author: Giuseppe Iuculano <[email protected]>
Date:   Tue May 19 23:33:36 2009 +0200

    debian/patches/01_kernel_postinst.patch: shut up "which", only the exit 
code is needed

diff --git a/debian/patches/01_kernel_postinst.patch 
b/debian/patches/01_kernel_postinst.patch
new file mode 100644
index 0000000..4a20797
--- /dev/null
+++ b/debian/patches/01_kernel_postinst.patch
@@ -0,0 +1,12 @@
+shut up "which", only the exit code is needed
+--- a/kernel_postinst.d_dkms
++++ b/kernel_postinst.d_dkms
+@@ -4,7 +4,7 @@
+ inst_kern=$1
+ 
+ if [ -x /etc/init.d/dkms_autoinstaller ]; then
+-    if which invoke-rc.d; then
++    if which invoke-rc.d >/dev/null 2>&1 ; then
+         invoke-rc.d dkms_autoinstaller start $inst_kern
+     else
+         /etc/init.d/dkms_autoinstaller start $inst_kern
diff --git a/debian/patches/series b/debian/patches/series
index 24bf59f..3074462 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+01_kernel_postinst.patch
 08-use-update-initramfs.patch
 15_modprobe.patch
 16_dpkg-divert.patch

-- 
Maintainance of the dkms package

_______________________________________________
Pkg-dkms-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-dkms-commits

Reply via email to