X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostrm-modules;h=c2577dd272d7aefc1b86f4fa9462de4446b762c3;hb=fb8f18f4a98669c3b85e1bd7920fbabfc00b886e;hp=804f63292651084d83ceeec80725da3fd8415c29;hpb=d5453631808c4af4f985f5dacc74b77b68624c30;p=debhelper.git diff --git a/autoscripts/postrm-modules b/autoscripts/postrm-modules index 804f632..c2577dd 100644 --- a/autoscripts/postrm-modules +++ b/autoscripts/postrm-modules @@ -1,3 +1,3 @@ -if [ -x /sbin/update-modules ]; then - update-modules >/dev/null || [ "$?" = 3] +if [ -e /boot/System.map-#KVERS# ]; then + depmod -a -F /boot/System.map-#KVERS# #KVERS# || true fi