aports/main/systemd-boot/ukify-kernel-hook.pre-deinstall
Jakub Jirutka 6e9bb0dcc5 main/systemd-boot: move from community
The only reason for this is systemd-efistub which is currently the only
functional and supported EFI stub.
2025-05-23 22:04:51 +00:00

11 lines
183 B
Bash

#!/bin/sh
HOOK_FILE='/usr/share/kernel-hooks.d/ukify.hook'
for link in /etc/kernel-hooks.d/*; do
if [ "$(readlink -f "$link")" = "$HOOK_FILE" ]; then
rm "$link"
fi
done
exit 0