Fix: $DIST default

This commit is contained in:
natemaia 2020-11-04 20:56:57 -08:00
parent d501055760
commit a2cf620931

View File

@ -10,7 +10,8 @@ VER=2.1.64
# default values { # 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 MNT=/mnt # installation root mountpoint if not set
SYS=Unknown # boot type, to be determined: UEFI/BIOS SYS=Unknown # boot type, to be determined: UEFI/BIOS
FONT=ter-i16n # font used for the linux console FONT=ter-i16n # font used for the linux console