]> git.donarmstrong.com Git - debhelper.git/blob - autoscripts/postinst-modules
r1929: * dh_installmodules: depmod -a is no longer run during boot, so if a module
[debhelper.git] / autoscripts / postinst-modules
1 if [ "$1" = "configure" ]; then
2         if [ -x "`which update-modules 2>/dev/null`" ]; then
3                 update-modules >/dev/null || [ "$?" = 3 ]
4         fi
5         if [ -e /boot/System.map-#KVERS# ]; then
6                 depmod -a -F /boot/System.map-#KVERS# #KVERS# || true
7         fi
8 fi