mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
correct __
This commit is contained in:
parent
aed4936a1c
commit
adaaa83ac6
2 changed files with 3 additions and 1 deletions
|
@ -25,9 +25,11 @@ _S_MKFSAUTO=0 # auto fs part/formatting
|
||||||
_NEXTITEM=""
|
_NEXTITEM=""
|
||||||
# To allow choice in script set EDITOR=""
|
# To allow choice in script set EDITOR=""
|
||||||
_EDITOR=""
|
_EDITOR=""
|
||||||
|
# programs
|
||||||
_LSBLK="lsblk -rpno"
|
_LSBLK="lsblk -rpno"
|
||||||
_BLKID="blkid -c /dev/null"
|
_BLKID="blkid -c /dev/null"
|
||||||
|
|
||||||
|
|
||||||
_set_title() {
|
_set_title() {
|
||||||
if [[ -e "${_LOCAL_DB}" ]]; then
|
if [[ -e "${_LOCAL_DB}" ]]; then
|
||||||
_TITLE="Archboot Arch Linux Installation (Local mode) --> https://bit.ly/archboot"
|
_TITLE="Archboot Arch Linux Installation (Local mode) --> https://bit.ly/archboot"
|
||||||
|
|
|
@ -190,7 +190,7 @@ _do_apple_efi_hfs_bless() {
|
||||||
_do_uefi_bootmgr_setup() {
|
_do_uefi_bootmgr_setup() {
|
||||||
_UEFISYSDEV="$(findmnt -vno SOURCE "${_DESTDIR}/${_UEFISYS_MP}")"
|
_UEFISYSDEV="$(findmnt -vno SOURCE "${_DESTDIR}/${_UEFISYS_MP}")"
|
||||||
_DISK="$(${_LSBLK} KNAME "${_UEFISYSDEV}")"
|
_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_DISK="${_DISK}"
|
||||||
_BOOTMGR_PART_NUM="${_UEFISYS_PART_NUM}"
|
_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
|
if [[ "$(cat "/sys/class/dmi/id/sys_vendor")" == 'Apple Inc.' ]] || [[ "$(cat "/sys/class/dmi/id/sys_vendor")" == 'Apple Computer, Inc.' ]]; then
|
||||||
|
|
Loading…
Reference in a new issue