From cf4f21c0397b4aca84d586aebfbff590107f33a1 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Mon, 29 Mar 2021 10:41:20 -0400 Subject: [PATCH] Fix a regression with unset envvars (#905) --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 2ac593d..fa604be 100755 --- a/install.sh +++ b/install.sh @@ -289,7 +289,7 @@ fi echo "${_endgroup}" echo "${_group}Setting up database ..." -if [[ -n "$CI" || "$SKIP_USER_PROMPT" == 1 ]]; then +if [[ -n "${CI:-''}" || "${SKIP_USER_PROMPT:-0}" == 1 ]]; then $dcr web upgrade --noinput echo "" echo "Did not prompt for user creation due to non-interactive shell."