]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postrm-modules
Updated French man page translation. Closes: #685560
[debhelper.git] / autoscripts / postrm-modules
index f2d4cb7a3c3ce034d452f4290ae4e02f8cd8e5a5..c2577dd272d7aefc1b86f4fa9462de4446b762c3 100644 (file)
@@ -1,3 +1,3 @@
-if [ -x /sbin/update-modules ]; then
-       update-modules >/dev/null
+if [ -e /boot/System.map-#KVERS# ]; then
+       depmod -a -F /boot/System.map-#KVERS# #KVERS# || true
 fi