Update source/agent-remote/agent-install.sh
Some checks failed
Dropshell Test / Build_and_Test (push) Failing after 2m10s
Some checks failed
Dropshell Test / Build_and_Test (push) Failing after 2m10s
This commit is contained in:
@@ -21,7 +21,9 @@ fi
|
|||||||
_check_required_env_vars "AGENT_PATH"
|
_check_required_env_vars "AGENT_PATH"
|
||||||
|
|
||||||
function install_bb64() {
|
function install_bb64() {
|
||||||
if ! curl -fsSL "https://gitea.jde.nz/public/bb64/releases/download/latest/install.sh" | \
|
ARCH=$(uname -m)
|
||||||
|
|
||||||
|
if ! curl -fsSL "https://getbin.xyz/bb64:latest-${ARCH}" | \
|
||||||
bash -s -- "$AGENT_PATH" "$(id -u "$USER"):$(id -g "$USER")"; then
|
bash -s -- "$AGENT_PATH" "$(id -u "$USER"):$(id -g "$USER")"; then
|
||||||
_die "Failed to install bb64. Curl returned non-zero exit code."
|
_die "Failed to install bb64. Curl returned non-zero exit code."
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user