From: Ian Jackson Date: Wed, 10 Oct 2018 14:42:39 +0000 (+0100) Subject: hypervisor package postinst: Actually install X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~21 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c8f008e2baf0e25e1ff9ef746b3ebdbf90bb252e;p=xen.git hypervisor package postinst: Actually install This source template file needs to have .vsn-in at the end of its filename. This fixes the bug that one needs to run update-grub by hand. Signed-off-by: Ian Jackson --- diff --git a/debian/xen-hypervisor-V-F.postinst b/debian/xen-hypervisor-V-F.postinst deleted file mode 100644 index 1540842eec..0000000000 --- a/debian/xen-hypervisor-V-F.postinst +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -set -e - -case "$1" in - configure) - if command -v update-grub > /dev/null && [ -d /boot/grub ]; then - update-grub || : - fi - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -#DEBHELPER# - -exit 0 diff --git a/debian/xen-hypervisor-V-F.postinst.vsn-in b/debian/xen-hypervisor-V-F.postinst.vsn-in new file mode 100644 index 0000000000..1540842eec --- /dev/null +++ b/debian/xen-hypervisor-V-F.postinst.vsn-in @@ -0,0 +1,23 @@ +#!/bin/bash + +set -e + +case "$1" in + configure) + if command -v update-grub > /dev/null && [ -d /boot/grub ]; then + update-grub || : + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0