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