Skip to content

Commit

Permalink
build: replace this branch in install.sh with env var
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Nov 9, 2023
1 parent fe2195a commit df3fa52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/public/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ check_user_not_root() {
yellow_echo "User 'svcfmtm' found."
else
yellow_echo "Creating user 'svcfmtm'."
useradd -m -s /bin/bash svcfmtm 2>/dev/null
useradd -m -d /home/svcfmtm -s /bin/bash svcfmtm 2>/dev/null
fi

echo
Expand Down Expand Up @@ -465,7 +465,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 df3fa52

Please sign in to comment.