Update source/agent-remote/agent-install.sh
All checks were successful
Build-Test-Publish / build (linux/amd64) (push) Successful in 32s
Build-Test-Publish / build (linux/arm64) (push) Successful in 56s

This commit is contained in:
Your Name
2025-08-23 18:06:50 +12:00
parent d3f4ef68dd
commit 11d4748bb6

View File

@@ -23,7 +23,7 @@ _check_required_env_vars "AGENT_PATH"
function install_bb64() { function install_bb64() {
BB64_path="${AGENT_PATH}/bb64" BB64_path="${AGENT_PATH}/bb64"
ARCH=$(uname -m) ARCH=$(uname -m)
if ! curl "http://getbin.xyz/bb64:latest-${ARCH}" > "${BB64_path}"; then if ! curl -s "https://getbin.xyz/bb64:latest-${ARCH}" > "${BB64_path}"; 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
chown "$(id -u "$USER"):$(id -g "$USER")" "${BB64_path}" chown "$(id -u "$USER"):$(id -g "$USER")" "${BB64_path}"