The following commit has been merged in the master branch:
commit ecfc1c7cc8e08d839990b6a0d4347d58e942a4fd
Author: David Paleino <[email protected]>
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

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

Reply via email to