From b7e8d5af06ee840cc48217ca4629cf28aeeb3c50 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 17:35:19 +0200 Subject: Adding debian version 252.22-1~deb12u1. 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..3952c8d --- /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 ] && command -v update-grub >/dev/null; then + update-grub || true +fi + +#DEBHELPER# -- cgit v1.2.3