aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-11-18 11:48:21 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-11-18 11:48:21 +0100
commit419766fb38802a9060212b6230c448dbf2f116be (patch)
treece1d765f4e9dd09354353ce4a947661caf606b17
parentColor test for awk (diff)
downloadarch-installer-419766fb38802a9060212b6230c448dbf2f116be.tar.gz
arch-installer-419766fb38802a9060212b6230c448dbf2f116be.tar.bz2
arch-installer-419766fb38802a9060212b6230c448dbf2f116be.tar.xz
arch-installer-419766fb38802a9060212b6230c448dbf2f116be.tar.zst
arch-installer-419766fb38802a9060212b6230c448dbf2f116be.zip
Awk experiment
Diffstat (limited to '')
-rwxr-xr-xjoes-arch-install-UEFI.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh
index 3f02f1c..ca1c98f 100755
--- a/joes-arch-install-UEFI.sh
+++ b/joes-arch-install-UEFI.sh
@@ -76,7 +76,7 @@ X X
X=X=X=X=X=X=X=X=X=X=X=X=X=X=X=X=X=X${END}"
sleep 6
echo && echo
- echo -e "${BMAGENTA}Thank you for using Joe's Arch Linux UEFI install script.${END}"
+ echo -e "${BBLUE}Thank you for using Joe's Arch Linux UEFI install script.${END}"
sleep 1
echo -e "${BRED}Aborting...${END}"
sleep 3
@@ -102,7 +102,7 @@ X X
X=X=X=X=X=X=X=X=X=X=X=X=X=X=X=X=X=X${END}"
sleep 6
echo && echo
- echo -e "${BMAGENTA}Thank you for using Joe's Arch Linux UEFI install script.${END}"
+ echo -e "${BBLUE}Thank you for using Joe's Arch Linux UEFI install script.${END}"
sleep 1
echo -e "${BRED}Aborting...${END}"
sleep 3
@@ -111,7 +111,7 @@ X=X=X=X=X=X=X=X=X=X=X=X=X=X=X=X=X=X${END}"
else
echo -e "${BGREEN}Success!${END}"
echo
- echo -e "${BMAGENTA}Press [retrun] key to continue${END}"
+ echo -e "${BBLUE}Press [retrun] key to continue${END}"
read -r
fi
@@ -124,7 +124,7 @@ while [[ $answr != y && $answr != Y && $answr != yes && $answr != Yes && $answr
swps=""
rts=""
clear
- echo "${BMAGENTA}\
+ echo -e "${BMAGENTA}\
#========= I. DISK SETUP =========#
# #
# Please choose wisely #
@@ -136,7 +136,7 @@ while [[ $answr != y && $answr != Y && $answr != yes && $answr != Yes && $answr
echo && echo
dn=$(lsblk | grep -c disk)
id=1
- lsblk | grep disk | awk '{print "${BBLUE}DISK", "", "", "SIZE${END}"}{print "----", "", "", "----"}{print "${BCYAN}$1" " ->", "${BYELLOW}$4"}'
+ lsblk | grep disk | awk '{print "${BBLUE}DISK", "", "", "SIZE${END}";}{print "----", "", "", "----"}{print "${BCYAN}$1" " ->", "${BYELLOW}$4"}'
echo && echo
echo "${BMAGENTA}Please choose the drive on which Arch Linux shoud be installed:${END}"
while [[ $dn != 0 ]]; do