aports/community/secureboot-hook/secureboot-hook.pre-deinstall
2021-08-09 20:24:06 +02:00

12 lines
188 B
Bash

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