diff --git a/packages/nextjs/public/runBuidlGuidlClient.sh b/packages/nextjs/public/runBuidlGuidlClient.sh index 08e7b2f..99fa660 100755 --- a/packages/nextjs/public/runBuidlGuidlClient.sh +++ b/packages/nextjs/public/runBuidlGuidlClient.sh @@ -79,8 +79,8 @@ if [ "$os_name" = "Linux" ]; then echo -e "\nāœ… Node is installed. Version:" node -v else - read -r -p "ā“ Node is not installed. Do you want to install it? [y/N] " -n 1 - if [[ "$REPLY" =~ ^[Yy]$ ]]; then + read -r -p "ā“ Node is not installed. Do you want to install it? [y/N] " response + if [[ "$response" =~ ^[Yy]$ ]]; then echo -e "\nšŸ’Ŗ Installing Node" cd ~ curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -