[Pkg-dkms-commits] [SCM] Maintainance of the dkms package branch, master, updated. debian/2.0.21.1-1-16-gfce1158

Giuseppe Iuculano giuseppe at iuculano.it
Tue May 19 21:40:27 UTC 2009


The following commit has been merged in the master branch:
commit db7ffe711efea19da736b01aade42eac44003cf6
Author: Giuseppe Iuculano <giuseppe at iuculano.it>
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



More information about the Pkg-dkms-commits mailing list