From: Maximilian Engelhardt Date: Tue, 8 Dec 2020 20:28:51 +0000 (+0100) Subject: d/xen-hypervisor-V-F.postrm: actually install script X-Git-Tag: archive/raspbian/4.14.1+11-gb0b734a8b3-1+rpi1^2~70 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8a169a937c9d69d56ed342e6c50aaef78a04e05e;p=xen.git d/xen-hypervisor-V-F.postrm: actually install script Fix the filename of debian/xen-hypervisor-V-F.postrm by adding the missing .vsn-in suffix so it actually gets installed. This fixes the issue of not running update-grub when the Xen hypervisor packages get removed, which resulted in a system that could not be rebooted without interactive usage of the grub menu. Signed-off-by: Maximilian Engelhardt Reviewed-by: Hans van Kranenburg --- diff --git a/debian/xen-hypervisor-V-F.postrm b/debian/xen-hypervisor-V-F.postrm deleted file mode 100644 index 4833411ab6..0000000000 --- a/debian/xen-hypervisor-V-F.postrm +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -set -e - -case "$1" in - remove) - if command -v update-grub > /dev/null && [ -d /boot/grub ]; then - update-grub || : - fi - ;; - - purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -#DEBHELPER# - -exit 0 diff --git a/debian/xen-hypervisor-V-F.postrm.vsn-in b/debian/xen-hypervisor-V-F.postrm.vsn-in new file mode 100644 index 0000000000..4833411ab6 --- /dev/null +++ b/debian/xen-hypervisor-V-F.postrm.vsn-in @@ -0,0 +1,23 @@ +#!/bin/bash + +set -e + +case "$1" in + remove) + if command -v update-grub > /dev/null && [ -d /boot/grub ]; then + update-grub || : + fi + ;; + + purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0