summaryrefslogtreecommitdiff
path: root/debian/initramfs-tools.preinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/initramfs-tools.preinst')
-rw-r--r--debian/initramfs-tools.preinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/initramfs-tools.preinst b/debian/initramfs-tools.preinst
index 758b504..11e9057 100644
--- a/debian/initramfs-tools.preinst
+++ b/debian/initramfs-tools.preinst
@@ -60,6 +60,12 @@ case "$1" in
cp /etc/mkinitrd/DSDT /etc/initramfs-tools/DSDT.aml
fi
;;
+ upgrade)
+ if dpkg --compare-versions "$2" eq "0.92k"; then
+ rm -f /etc/kernel/postinst.d/update-initramfs
+ rm -f /etc/kernel/postrm.d/update-initramfs
+ fi
+ ;;
esac
#DEBHELPER#