From b0c35acf3fb83b1fc0c123f4cb347c9c8efba037 Mon Sep 17 00:00:00 2001 From: Bui Date: Mon, 21 Mar 2022 04:33:01 +0000 Subject: [PATCH] remove apt upgrade and quotes from IP --- tools/setup.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/setup.sh b/tools/setup.sh index b227f5f..44fc93d 100644 --- a/tools/setup.sh +++ b/tools/setup.sh @@ -2,8 +2,6 @@ set -euo pipefail sudo apt update -sudo apt upgrade -y - sudo apt install -y git python3-pip python3-virtualenv nginx ffmpeg redis supervisor if [[ -r /etc/os-release ]]; then @@ -57,7 +55,7 @@ sudo service supervisor restart sudo systemctl enable mongod.service sudo service mongod start -IP="$(dig +short txt ch whoami.cloudflare @1.0.0.1)" +IP=$(dig +short txt ch whoami.cloudflare @1.0.0.1) echo echo "Setup complete! You should be able to access your taiko-web instance at http://$IP" echo