Skip to content

Commit

Permalink
build: add DEBIAN_FRONTEND=noninteractive to install script
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Nov 8, 2023
1 parent 6dcd378 commit 847c944
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/frontend/public/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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=""
Expand Down

0 comments on commit 847c944

Please sign in to comment.