fixes
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user