]> 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 45d65beaf5e6bb92c3cc39871e0cfbd5c5fba606..c2577dd272d7aefc1b86f4fa9462de4446b762c3 100644 (file)
@@ -1,3 +1,3 @@
-if [ -x /sbin/update-modules ]; then
-       update-modules >/dev/null || [ "$?" = 3 ]
+if [ -e /boot/System.map-#KVERS# ]; then
+       depmod -a -F /boot/System.map-#KVERS# #KVERS# || true
 fi