]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postrm-modules
Updated French man page translation. Closes: #685560
[debhelper.git] / autoscripts / postrm-modules
index 35db87185e8cd18c67f5c270f1d90b14639839e2..c2577dd272d7aefc1b86f4fa9462de4446b762c3 100644 (file)
@@ -1,3 +1,3 @@
-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