From 71d962c7972ddba3c37c3b59f65bd486cd9878cb Mon Sep 17 00:00:00 2001 From: root Date: Wed, 24 May 2023 06:10:03 +0000 Subject: [PATCH] fixes --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 5ac8aa8..8e15d3f 100755 --- a/install.sh +++ b/install.sh @@ -18,7 +18,7 @@ ask_envs() { SMARTHOST_PROXY="yes"; echo "Please fill in the domain name: (localhost)"; read -r DOMAIN; - if [ "$DOMAIN" == "" ] then + if [ "$DOMAIN" == "" ]; then DOMAIN="localhost"; fi A=$(echo $DOMAIN | cut -d '.' -f1) @@ -269,6 +269,8 @@ check_dirs_and_files; ask_envs; +$SUDO_CMD docker pull registry.format.hu/proxy-deployment-tool + $SUDO_CMD docker run \ --volume $HOME/.ssh/installer:/root/.ssh/id_rsa \ --env PUBLIC_PROXY=$PUBLIC_PROXY \ @@ -293,7 +295,7 @@ if [ "$SMARTHOST_PROXY" == "yes" ]; then echo "Would you like to run local backend? (Y/n)"; read -r ANSWER; - if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "Y" ]; then + if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "Y" ] || [ "$ANSWER" == "" ] ; then service-debian local-backend start fi fi