mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix deletion of boot entry
This commit is contained in:
parent
f90ea61940
commit
816cb2b99f
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ _do_uefi_common() {
|
|||
|
||||
_do_uefi_efibootmgr() {
|
||||
for _bootnum in $(efibootmgr | grep '^Boot[0-9]' | grep -F -i "${_BOOTMGR_LABEL}" | cut -b5-8) ; do
|
||||
efibootmgr --quiet --bootnum "\${_bootnum}" --delete-bootnum
|
||||
efibootmgr --quiet --bootnum "${_bootnum}" --delete-bootnum
|
||||
done
|
||||
efibootmgr --quiet --create --disk "${_BOOTMGRDEV}" --part "${_BOOTMGRDEV_NUM}" --loader "${_BOOTMGR_LOADER_PATH}" --label "${_BOOTMGR_LABEL}" -e "3"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue