summaryrefslogtreecommitdiffstats
path: root/debian/preinst.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 10:54:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 10:54:18 +0000
commit8e67fbf68ffeb9eb5f026dd482d73b021660bf9b (patch)
treebb573facd5d02096f9956b2617a722b88acaa8af /debian/preinst.in
parentAdding upstream version 2.06. (diff)
downloadgrub2-8e67fbf68ffeb9eb5f026dd482d73b021660bf9b.tar.xz
grub2-8e67fbf68ffeb9eb5f026dd482d73b021660bf9b.zip
Adding debian version 2.06-3~deb11u6.debian/2.06-3_deb11u6debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/preinst.in')
-rw-r--r--debian/preinst.in15
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