summaryrefslogtreecommitdiffstats
path: root/autoscripts/postinst-modules
blob: 9f8d205bd3dd13fa69e44b55855249840d572984 (plain)
1
2
3
4
5
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
	if [ -e /boot/System.map-#KVERS# ]; then
		depmod -a -F /boot/System.map-#KVERS# #KVERS# || true
	fi
fi