summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-modules
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-modules')
-rw-r--r--autoscripts/postinst-modules2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postinst-modules b/autoscripts/postinst-modules
index f17dc2da..0b930452 100644
--- a/autoscripts/postinst-modules
+++ b/autoscripts/postinst-modules
@@ -1,4 +1,4 @@
-if [ "$1" = "configure" ]; then
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then
if [ -e /boot/System.map-#KVERS# ]; then
depmod -a -F /boot/System.map-#KVERS# #KVERS# || true
fi