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