]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-modules
Typo. Closes: #653339
[debhelper.git] / autoscripts / postinst-modules
index a7e7c77d37b064f8609e97124322a06fa09742be..f17dc2da139e35c4c385c24116827e2f4aa75fb8 100644 (file)
@@ -1,3 +1,5 @@
 if [ "$1" = "configure" ]; then
-       update-modules
+       if [ -e /boot/System.map-#KVERS# ]; then
+               depmod -a -F /boot/System.map-#KVERS# #KVERS# || true
+       fi
 fi