]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-modules
Updated French man page translation. Closes: #685560
[debhelper.git] / autoscripts / postinst-modules
index 8d2c4cbc9da1b7695604c876debf122beb4bfd91..f17dc2da139e35c4c385c24116827e2f4aa75fb8 100644 (file)
@@ -1,3 +1,5 @@
-if [ "$1" = "configure" ] && [ -x "`which update-modules 2>/dev/null`" ]; then
-       update-modules >/dev/null || [ "$?" = 3 ]
+if [ "$1" = "configure" ]; then
+       if [ -e /boot/System.map-#KVERS# ]; then
+               depmod -a -F /boot/System.map-#KVERS# #KVERS# || true
+       fi
 fi