Merge pull request #4325 from WaviestBalloon/master

Updated bootstrap.sh to not show when $DOKKU_TAG equals nothing
This commit is contained in:
Jose Diaz-Gonzalez
2021-01-17 16:50:22 -05:00
committed by GitHub

View File

@@ -22,7 +22,11 @@ log-fail() {
ensure-environment() {
local FREE_MEMORY
echo "Preparing to install $DOKKU_TAG from $DOKKU_REPO..."
if [[ -z "$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"