X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostrm-modules;h=c2577dd272d7aefc1b86f4fa9462de4446b762c3;hb=ec77e19bf7a20d35edadb2089c3632fca8f54ed3;hp=a8f4ce706af3e95f1eedca6e500b741ab06fb414;hpb=f375c254bef045414797dfb9bd55c6ddc7391659;p=debhelper.git diff --git a/autoscripts/postrm-modules b/autoscripts/postrm-modules index a8f4ce7..c2577dd 100644 --- a/autoscripts/postrm-modules +++ b/autoscripts/postrm-modules @@ -1,2 +1,3 @@ -update-modules -depmod -a +if [ -e /boot/System.map-#KVERS# ]; then + depmod -a -F /boot/System.map-#KVERS# #KVERS# || true +fi