The following commit has been merged in the master branch:
commit 2f3ddd9801bb02652062611b1af5d872774776f7
Author: Giuseppe Iuculano <[email protected]>
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

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

Reply via email to