X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostinst-modules;h=f17dc2da139e35c4c385c24116827e2f4aa75fb8;hb=e2a6d4cec4a7ee952cf6a7f250d80f1d75a38f95;hp=11c206bc8cd8504f917d562cb332ee8303848f35;hpb=084815258f457f7a41934549b52a63ba34b759e1;p=debhelper.git diff --git a/autoscripts/postinst-modules b/autoscripts/postinst-modules index 11c206b..f17dc2d 100644 --- a/autoscripts/postinst-modules +++ b/autoscripts/postinst-modules @@ -1,6 +1,5 @@ if [ "$1" = "configure" ]; then - if [ -x "`which update-modules 2>/dev/null`" ]; then - update-modules >/dev/null || [ "$?" = 3 ] + if [ -e /boot/System.map-#KVERS# ]; then + depmod -a -F /boot/System.map-#KVERS# #KVERS# || true fi - depmod -a || true fi