]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-modules
cmake: Pass CPPFLAGS in CFLAGS. Closes: #668813 Thanks, Simon Ruderich for the patch...
[debhelper.git] / autoscripts / postinst-modules
index babf39bd09971cf120ab7229c9e2b932bdf884d4..f17dc2da139e35c4c385c24116827e2f4aa75fb8 100644 (file)
@@ -1,3 +1,5 @@
-if [ "$1" = "configure" ] && [ -x /sbin/update-modules ]; then
-       update-modules >/dev/null
+if [ "$1" = "configure" ]; then
+       if [ -e /boot/System.map-#KVERS# ]; then
+               depmod -a -F /boot/System.map-#KVERS# #KVERS# || true
+       fi
 fi