Fix teardown path

This commit is contained in:
Dennis ten Hoove 2024-02-27 14:28:45 +01:00
parent caa6dcf201
commit 156d7c082f

2
arkdep
View file

@ -326,7 +326,7 @@ teardown () {
fi
# Remove all bootloader entries
rm -v $(grep -ril arkdep $($ARKDEP_ROOT/boot/loader/entries))
rm -v $(grep -ril arkdep $(readlink -m $ARKDEP_ROOT/boot/loader/entries))
# Remove kernels and initramfs deployed by Arkdep
rm -rfv $(readlink -m $ARKDEP_ROOT/boot/arkdep)