From f542925b701989ba6eed7b08b5226d4021b9b85f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 15:00:48 +0200 Subject: Adding debian version 247.3-7+deb11u4. Signed-off-by: Daniel Baumann --- debian/systemd-sysv.postinst | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 debian/systemd-sysv.postinst (limited to 'debian/systemd-sysv.postinst') diff --git a/debian/systemd-sysv.postinst b/debian/systemd-sysv.postinst new file mode 100644 index 0000000..a67eddb --- /dev/null +++ b/debian/systemd-sysv.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +# update grub on first install, so that the alternative init system boot +# entries get updated +if [ "$1" = configure ] && [ -z "$2" ] && [ -e /boot/grub/grub.cfg ] && which update-grub >/dev/null 2>&1; then + update-grub || true +fi + +#DEBHELPER# -- cgit v1.2.3