From 847c944d37048b67a96a51a1ce135651d025a6b5 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Mon, 6 Nov 2023 06:39:10 +0000 Subject: [PATCH] build: add DEBIAN_FRONTEND=noninteractive to install script --- src/frontend/public/install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/frontend/public/install.sh b/src/frontend/public/install.sh index 8242ae6389..8532d4e86d 100644 --- a/src/frontend/public/install.sh +++ b/src/frontend/public/install.sh @@ -4,6 +4,9 @@ set -o pipefail # Tested for Debian 11 Bookworm & Ubuntu 22.04 LTS +# Auto accept all apt prompts +export DEBIAN_FRONTEND=noninteractive + # Global Vars RANDOM_DIR="${RANDOM}${RANDOM}" DOTENV_NAME=.env @@ -461,7 +464,7 @@ get_repo() { echo "Cloning repo $repo_url to dir: /tmp/${RANDOM_DIR}" echo - git clone --branch "build/nginx-certbot" --depth 1 "$repo_url" + git clone --branch "${BRANCH_NAME}" --depth 1 "$repo_url" # Check for existing .env files existing_dotenv=""