mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 22:30:59 +02:00
pentoo-updater: /boot finder fix
This commit is contained in:
parent
7cfb558463
commit
29e50c7746
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue