[Pkg-dkms-commits] [SCM] Maintainance of the dkms package branch, master, updated. debian/2.0.21.0-1-31-g2f3ddd9

Giuseppe Iuculano giuseppe at iuculano.it
Sun May 3 22:35:06 UTC 2009


The following commit has been merged in the master branch:
commit 2f3ddd9801bb02652062611b1af5d872774776f7
Author: Giuseppe Iuculano <giuseppe at iuculano.it>
Date:   Mon May 4 00:22:32 2009 +0200

    debian/postinst: No need to remove comments in the old /etc/modprobe.d/dkms.
    
    dkms didn't have /etc/modprobe.d/dkms.conf in the previous version, and we do
    not install /etc/modprobe.d/dkms.conf anymore.

diff --git a/debian/postinst b/debian/postinst
index 840bf82..9b995bd 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -11,7 +11,7 @@ if dpkg --compare-versions "$2" lt-nl "2.0.21.1-1~" ; then
 			rm -f /etc/modprobe.d/dkms
 		else
 			echo "Moving /etc/modprobe.d/dkms to /etc/modprobe.d/dkms.conf ..."
-			grep -v '^#' /etc/modprobe.d/dkms >> /etc/modprobe.d/dkms.conf
+			mv /etc/modprobe.d/dkms /etc/modprobe.d/dkms.conf
 			rm -f /etc/modprobe.d/dkms
 		fi
 	fi

-- 
Maintainance of the dkms package



More information about the Pkg-dkms-commits mailing list