Initial YakPanel commit
This commit is contained in:
@@ -203,7 +203,9 @@ else
|
||||
TMP_DIR="$(mktemp -d)"
|
||||
trap 'rm -rf "$TMP_DIR"' EXIT
|
||||
export GIT_TERMINAL_PROMPT=0
|
||||
CLONE_ARGS=(git clone --depth 1)
|
||||
# Disable credential helpers for this clone so anonymous HTTPS public repos work
|
||||
# from curl|bash (no TTY); USER:TOKEN in REPO_URL is still used if present.
|
||||
CLONE_ARGS=(git -c credential.helper= clone --depth 1)
|
||||
if [ -n "$YAKPANEL_BRANCH" ]; then
|
||||
CLONE_ARGS+=(--branch "$YAKPANEL_BRANCH")
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user