]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-modules
r477: * Check that update-modules is present before running it, since modutils
[debhelper.git] / autoscripts / postinst-modules
index a7e7c77d37b064f8609e97124322a06fa09742be..b25a1c1301ad25301aa11b367074c5dbdcad4cac 100644 (file)
@@ -1,3 +1,3 @@
-if [ "$1" = "configure" ]; then
+if [ "$1" = "configure" -a -x /sbin/update-modules ]; then
        update-modules
 fi