diff options
Diffstat (limited to '')
-rw-r--r-- | debian/preinst.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/preinst.in b/debian/preinst.in new file mode 100644 index 0000000..9d67cec --- /dev/null +++ b/debian/preinst.in @@ -0,0 +1,15 @@ +#!/bin/sh +set -e + +case "$1" in + install|upgrade) + if dpkg --compare-versions "$2" lt 1.98+20100804-2 && \ + test -h /etc/kernel/postrm.d/zz-update-grub; then + rm -f /etc/kernel/postrm.d/zz-update-grub + fi + ;; +esac + +#DEBHELPER# + +exit 0 |