Update install.sh
This commit is contained in:
parent
379ffc7f07
commit
b2cd7f2e8b
1 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ fi
|
||||||
while true; do
|
while true; do
|
||||||
RESET="\e[0m"
|
RESET="\e[0m"
|
||||||
GREEN="\e[32m"
|
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
|
case $yn in
|
||||||
[yY] ) echo -e "\e[32m* Confirmed. Continuing..\e[0m";
|
[yY] ) echo -e "\e[32m* Confirmed. Continuing..\e[0m";
|
||||||
break;;
|
break;;
|
||||||
|
|
@ -39,7 +39,7 @@ fi
|
||||||
# Install NodeJS
|
# Install NodeJS
|
||||||
if ! [ -x "$(command -v node)" ]; then
|
if ! [ -x "$(command -v node)" ]; then
|
||||||
echo -e "\e[32m* Installing NodeJS\e[0m"
|
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
|
read NodeJSVer
|
||||||
if [[ -n "NodeJSVer" ]]
|
if [[ -n "NodeJSVer" ]]
|
||||||
then
|
then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue