[Pkg-dkms-commits] [SCM] Dynamic Kernel Module Support branch, master, updated. debian/2.1.1.1-1-4-g4f947d4

David Paleino dapal at debian.org
Mon Feb 8 10:20:13 UTC 2010


The following commit has been merged in the master branch:
commit ecfc1c7cc8e08d839990b6a0d4347d58e942a4fd
Author: David Paleino <dapal at debian.org>
Date:   Mon Feb 8 11:04:41 2010 +0100

    debian/scripts/postinst-dkms: don't exit on success, only do it on errors (Closes: #568591)

diff --git a/debian/scripts/postinst-dkms b/debian/scripts/postinst-dkms
index c519050..ac5df8e 100644
--- a/debian/scripts/postinst-dkms
+++ b/debian/scripts/postinst-dkms
@@ -10,7 +10,9 @@ case "$1" in
 		for DKMS_POSTINST in /usr/lib/dkms/common.postinst /usr/share/$DKMS_PACKAGE_NAME/postinst; do
 			if [ -f $DKMS_POSTINST ]; then
 				$DKMS_POSTINST $DKMS_NAME $DKMS_CVERSION /usr/share/$DKMS_PACKAGE_NAME "" $2
-				exit $?
+				if [ "$?" -ne 0 ]; then
+					exit $?
+				fi
 			fi
 			echo "WARNING: $DKMS_POSTINST does not exist."
 		done

-- 
Dynamic Kernel Module Support



More information about the Pkg-dkms-commits mailing list