diff options
Diffstat (limited to 'debian/extra/kernel/postrm.d/zz-systemd-boot')
-rwxr-xr-x | debian/extra/kernel/postrm.d/zz-systemd-boot | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/extra/kernel/postrm.d/zz-systemd-boot b/debian/extra/kernel/postrm.d/zz-systemd-boot new file mode 100755 index 0000000..4db5e51 --- /dev/null +++ b/debian/extra/kernel/postrm.d/zz-systemd-boot @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +test -x /usr/bin/bootctl || exit 0 + +bootctl is-installed --quiet || exit 0 + +echo "Removing kernel version $1 from systemd-boot..." + +kernel-install remove "$1" |