mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
modified echos.
This commit is contained in:
parent
97a740ce76
commit
67726f96f7
1 changed files with 4 additions and 4 deletions
|
|
@ -13,11 +13,11 @@ RESET='\e[0m'
|
||||||
|
|
||||||
# Pretty print (function).
|
# Pretty print (function).
|
||||||
info_print () {
|
info_print () {
|
||||||
echo -e "${BOLD}${BYELLOW}[ ${BGREEN}•${BYELLOW} ] $1${RESET}"
|
echo -ne "${BOLD}${BYELLOW}[ ${BGREEN}•${BYELLOW} ] $1${RESET}"
|
||||||
}
|
}
|
||||||
# Alert user of bad input (function).
|
# Alert user of bad input (function).
|
||||||
error_print () {
|
error_print () {
|
||||||
echo -e "${BOLD}${BRED}[ ${BBLUE}•${BRED} ] $1${RESET}"
|
echo -ne "${BOLD}${BRED}[ ${BBLUE}•${BRED} ] $1${RESET}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Virtualization check (function).
|
# Virtualization check (function).
|
||||||
|
|
@ -238,12 +238,12 @@ info_print "Welcome to easy-arch, a script made in order to simplify the process
|
||||||
until keyboard_selector; do : ; done
|
until keyboard_selector; do : ; done
|
||||||
|
|
||||||
# Choosing the target for the installation.
|
# Choosing the target for the installation.
|
||||||
info_print "Available disks for the installation (this is the disk where Arch Linux is going to be installed on)"
|
info_print "Available disks for the installation:"
|
||||||
PS3="Please select the number of the corresponding disk (e.g. 1): "
|
PS3="Please select the number of the corresponding disk (e.g. 1): "
|
||||||
select ENTRY in $(lsblk -dpnoNAME|grep -P "/dev/sd|nvme|vd");
|
select ENTRY in $(lsblk -dpnoNAME|grep -P "/dev/sd|nvme|vd");
|
||||||
do
|
do
|
||||||
DISK="$ENTRY"
|
DISK="$ENTRY"
|
||||||
info_print "Arch Linux will be installed to $DISK."
|
info_print "Arch Linux will be installed on the following disk: $DISK."
|
||||||
break
|
break
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue