Update source/agent-remote/agent-install.sh
This commit is contained in:
@@ -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}"
|
||||||
|
Reference in New Issue
Block a user