correct __

This commit is contained in:
Tobias Powalowski 2023-01-09 08:29:07 +01:00
parent aed4936a1c
commit adaaa83ac6
2 changed files with 3 additions and 1 deletions

View file

@ -25,9 +25,11 @@ _S_MKFSAUTO=0 # auto fs part/formatting
_NEXTITEM=""
# To allow choice in script set EDITOR=""
_EDITOR=""
# programs
_LSBLK="lsblk -rpno"
_BLKID="blkid -c /dev/null"
_set_title() {
if [[ -e "${_LOCAL_DB}" ]]; then
_TITLE="Archboot Arch Linux Installation (Local mode) --> https://bit.ly/archboot"

View file

@ -190,7 +190,7 @@ _do_apple_efi_hfs_bless() {
_do_uefi_bootmgr_setup() {
_UEFISYSDEV="$(findmnt -vno SOURCE "${_DESTDIR}/${_UEFISYS_MP}")"
_DISK="$(${_LSBLK} KNAME "${_UEFISYSDEV}")"
_UEFISYS_PART_NUM="$(${_BLKID} -p -i -s PART_ENTRY__NUMBER -o value "${_UEFISYSDEV}")"
_UEFISYS_PART_NUM="$(${_BLKID} -p -i -s PART_ENTRY_NUMBER -o value "${_UEFISYSDEV}")"
_BOOTMGR_DISK="${_DISK}"
_BOOTMGR_PART_NUM="${_UEFISYS_PART_NUM}"
if [[ "$(cat "/sys/class/dmi/id/sys_vendor")" == 'Apple Inc.' ]] || [[ "$(cat "/sys/class/dmi/id/sys_vendor")" == 'Apple Computer, Inc.' ]]; then