Fix: $DIST default
This commit is contained in:
parent
d501055760
commit
a2cf620931
@ -10,7 +10,8 @@ VER=2.1.64
|
||||
|
||||
# default values {
|
||||
|
||||
DIST=$(awk -F'"' '/^NAME=/ {print $2}' /etc/os-release 2> /dev/null)
|
||||
n=$(awk '/^NAME=/ {gsub(/^NAME=|"|'\''/, ""); print $1}' /etc/os-release 2> /dev/null)
|
||||
DIST=${n:-ArchLabs}
|
||||
MNT=/mnt # installation root mountpoint if not set
|
||||
SYS=Unknown # boot type, to be determined: UEFI/BIOS
|
||||
FONT=ter-i16n # font used for the linux console
|
||||
|
Reference in New Issue
Block a user