]> 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 64b8eb0c3d9882032105f3ac855629dace3a1e08..f17dc2da139e35c4c385c24116827e2f4aa75fb8 100644 (file)
@@ -1,4 +1,5 @@
 if [ "$1" = "configure" ]; then
-       update-modules
-       depmod -a
+       if [ -e /boot/System.map-#KVERS# ]; then
+               depmod -a -F /boot/System.map-#KVERS# #KVERS# || true
+       fi
 fi