pentoo-updater: /boot finder fix

This commit is contained in:
Rick Farina (Zero_Chaos) 2024-03-29 21:24:49 -04:00
parent 7cfb558463
commit 29e50c7746
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -708,7 +708,7 @@ grub_safety_check() {
# Only efi safety checks are implemented
return 0
else
efi_uuid="$(efibootmgr -v | grep pentoo | awk -F',' '{print $3}')"
efi_uuid="$(efibootmgr -v | grep -i pentoo | awk -F',' '{print $3}')"
mount_point="$(findmnt --source PARTUUID="${efi_uuid}" --output TARGET --noheadings)"
if [ ! -d "${mount_point}" ]; then
printf "Unable to find mounted efi partition, please report this!!!\n"