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