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