mirror of
https://git.proxmox.com/git/systemd
synced 2025-12-26 06:30:33 +00:00
Doesn't actually matter, but the kernel handbook says we must and we already renamed postinst
12 lines
178 B
Bash
Executable File
12 lines
178 B
Bash
Executable File
#!/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"
|