grub-efi/debian/preinst.in
2023-08-16 16:37:14 +08:00

16 lines
255 B
Bash

#!/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