]> 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 11c206bc8cd8504f917d562cb332ee8303848f35..f17dc2da139e35c4c385c24116827e2f4aa75fb8 100644 (file)
@@ -1,6 +1,5 @@
 if [ "$1" = "configure" ]; then
-       if [ -x "`which update-modules 2>/dev/null`" ]; then
-               update-modules >/dev/null || [ "$?" = 3 ]
+       if [ -e /boot/System.map-#KVERS# ]; then
+               depmod -a -F /boot/System.map-#KVERS# #KVERS# || true
        fi
-       depmod -a || true
 fi