fix: 🐛 stop removing uki uefi boot entries if deactivated
This commit is contained in:
parent
8a27b4e196
commit
c4dc5fdc0a
@ -163,7 +163,9 @@ function main
|
||||
echo " -> cleaning uki and boot entry for removed snapshot $uki"
|
||||
rm "$CFG_UKI_DIR/arch-linux-$uki.efi"
|
||||
|
||||
efibootmgr -q -b (efibootmgr -v | rg "arch-linux-$uki.efi" | sed "s/\*//;s/Boot0*\(.*\) Arch .*/\1/") -B
|
||||
if test "$CFG_EFI" = "yes"
|
||||
efibootmgr -q -b (efibootmgr -v | rg "arch-linux-$uki.efi" | sed "s/\*//;s/Boot0*\(.*\) Arch .*/\1/") -B
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user