From 80b782e6ed10c51fa52807701b50cf3531f79fb8 Mon Sep 17 00:00:00 2001 From: Waviest <31796727+WaviestBalloon@users.noreply.github.com> Date: Sat, 16 Jan 2021 23:56:36 +0000 Subject: [PATCH] Update bootstrap.sh --- bootstrap.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 5b3b9db62..4165214ce 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -22,7 +22,11 @@ log-fail() { ensure-environment() { local FREE_MEMORY - echo "Preparing to install $DOKKU_TAG from $DOKKU_REPO..." + if [ ! $DOKKU_TAG ]; then + echo "Preparing to install $DOKKU_REPO..." + else + echo "Preparing to install $DOKKU_TAG from $DOKKU_REPO..." + fi hostname -f >/dev/null 2>&1 || { log-fail "This installation script requires that you have a hostname set for the instance. Please set a hostname for 127.0.0.1 in your /etc/hosts"