From 67726f96f77ede68ccffa353214cffdf14a1a9af Mon Sep 17 00:00:00 2001 From: Tommaso Chiti Date: Sat, 28 May 2022 16:38:45 +0200 Subject: [PATCH] modified echos. --- easy-arch.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/easy-arch.sh b/easy-arch.sh index ff90fd9..85a30ca 100755 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -13,11 +13,11 @@ RESET='\e[0m' # Pretty print (function). info_print () { - echo -e "${BOLD}${BYELLOW}[ ${BGREEN}•${BYELLOW} ] $1${RESET}" + echo -ne "${BOLD}${BYELLOW}[ ${BGREEN}•${BYELLOW} ] $1${RESET}" } # Alert user of bad input (function). error_print () { - echo -e "${BOLD}${BRED}[ ${BBLUE}•${BRED} ] $1${RESET}" + echo -ne "${BOLD}${BRED}[ ${BBLUE}•${BRED} ] $1${RESET}" } # 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 # 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): " select ENTRY in $(lsblk -dpnoNAME|grep -P "/dev/sd|nvme|vd"); do DISK="$ENTRY" - info_print "Arch Linux will be installed to $DISK." + info_print "Arch Linux will be installed on the following disk: $DISK." break done