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