Update install.sh

This commit is contained in:
Josh S 2022-11-20 18:06:45 -05:00 committed by GitHub
parent 379ffc7f07
commit b2cd7f2e8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ fi
while true; do
RESET="\e[0m"
GREEN="\e[32m"
read -p "$(echo -e $GREEN"\n* Do you want to proceed? (Y/N)"$RESET" yn
read -p "$(echo -e $GREEN"\n* Do you want to proceed? (Y/N)"$RESET)" yn
case $yn in
[yY] ) echo -e "\e[32m* Confirmed. Continuing..\e[0m";
break;;
@ -39,7 +39,7 @@ fi
# Install NodeJS
if ! [ -x "$(command -v node)" ]; then
echo -e "\e[32m* Installing NodeJS\e[0m"
echo -e "\e[32m* Which NodeJS version would you like to install? [17, 18]\e[0m"
echo -e "\e[32m* Which NodeJS version would you like to install? []\e[0m"
read NodeJSVer
if [[ -n "NodeJSVer" ]]
then