X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostinst-modules;h=f17dc2da139e35c4c385c24116827e2f4aa75fb8;hb=fb8f18f4a98669c3b85e1bd7920fbabfc00b886e;hp=64b8eb0c3d9882032105f3ac855629dace3a1e08;hpb=f375c254bef045414797dfb9bd55c6ddc7391659;p=debhelper.git diff --git a/autoscripts/postinst-modules b/autoscripts/postinst-modules index 64b8eb0..f17dc2d 100644 --- a/autoscripts/postinst-modules +++ b/autoscripts/postinst-modules @@ -1,4 +1,5 @@ if [ "$1" = "configure" ]; then - update-modules - depmod -a + if [ -e /boot/System.map-#KVERS# ]; then + depmod -a -F /boot/System.map-#KVERS# #KVERS# || true + fi fi