]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-modules
r547: * Use invoke-rc.d always now that it is in policy. Fall back to old behavior
[debhelper.git] / autoscripts / postinst-modules
index a8f4ce706af3e95f1eedca6e500b741ab06fb414..bcd7c34b32d24611282d1b3e7e7870db8d4d6dfb 100644 (file)
@@ -1,2 +1,3 @@
-update-modules
-depmod -a
+if [ "$1" = "configure" ] && [ -x /sbin/update-modules ]; then
+       update-modules
+fi