Clean up some text and usage flags
This commit is contained in:
parent
d506b2a1f5
commit
6ad74b4d96
@ -3172,7 +3172,7 @@ live()
|
|||||||
usage()
|
usage()
|
||||||
{
|
{
|
||||||
cat <<- EOF
|
cat <<- EOF
|
||||||
usage: $1 [-hDn] [-r ROOT] [-b BOOT] [-l SESSION] [-d DISTRO] [-m MOUNTPOINT]
|
usage: $1 [-cfhDn] [-r ROOT] [-b BOOT] [-l SESSION] [-d DISTRO] [-m MOUNTPOINT]
|
||||||
|
|
||||||
options:
|
options:
|
||||||
-h print this message and exit
|
-h print this message and exit
|
||||||
@ -3777,10 +3777,10 @@ if [[ $MISSING ]]; then
|
|||||||
printf "The following package(s) need to be installed:\n\n\t%s\n" "$MISSING"
|
printf "The following package(s) need to be installed:\n\n\t%s\n" "$MISSING"
|
||||||
die 1
|
die 1
|
||||||
elif (( UID != 0 )); then
|
elif (( UID != 0 )); then
|
||||||
msg "Not Root" "\nThis installer must be run as root.\n\nExiting..\n" 2
|
msg "Not Root" "\nThe installer must be run as root.\n\nExiting..\n" 2
|
||||||
die 1
|
die 1
|
||||||
elif ! grep -qm 1 ' lm ' /proc/cpuinfo; then
|
elif ! grep -qm 1 ' lm ' /proc/cpuinfo; then
|
||||||
msg "Not x86_64" "\nThis installer only supports x86_64 architectures.\n\nExiting..\n" 2
|
msg "Not x86_64" "\nThe installer only supports x86_64 architectures.\n\nExiting..\n" 2
|
||||||
die 1
|
die 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user