]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-modules
r1607: * dh_installcatalogs: in prerm on upgrade, call update-catalog on the
[debhelper.git] / autoscripts / postinst-modules
index 64b8eb0c3d9882032105f3ac855629dace3a1e08..babf39bd09971cf120ab7229c9e2b932bdf884d4 100644 (file)
@@ -1,4 +1,3 @@
-if [ "$1" = "configure" ]; then
-       update-modules
-       depmod -a
+if [ "$1" = "configure" ] && [ -x /sbin/update-modules ]; then
+       update-modules >/dev/null
 fi