]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-modules
r568: * Fixed dh_python ordering in example rules files. Closes: #172283
[debhelper.git] / autoscripts / postinst-modules
index 64b8eb0c3d9882032105f3ac855629dace3a1e08..bcd7c34b32d24611282d1b3e7e7870db8d4d6dfb 100644 (file)
@@ -1,4 +1,3 @@
-if [ "$1" = "configure" ]; then
+if [ "$1" = "configure" ] && [ -x /sbin/update-modules ]; then
        update-modules
-       depmod -a
 fi