dropshell release 2025.0521.2125
Some checks failed
Dropshell Test / Build_and_Test (push) Has been cancelled
Some checks failed
Dropshell Test / Build_and_Test (push) Has been cancelled
This commit is contained in:
@ -50,7 +50,7 @@ function install_bb64() {
|
||||
_die "Curl is not installed. Curl is required for agent installation."
|
||||
fi
|
||||
|
||||
curl -fsSL "https://gitea.jde.nz/public/bb64/releases/download/latest/install.sh" | bash -s -- "$AGENT_PATH" "$(id -u $USER):$(id -g $USER)"
|
||||
curl -fsSL "https://gitea.jde.nz/public/bb64/releases/download/latest/install.sh" | bash -s -- "$AGENT_LOCAL_PATH" "$(id -u $USER):$(id -g $USER)"
|
||||
|
||||
# test result code from curl
|
||||
if [ $? -ne 0 ]; then
|
||||
@ -58,7 +58,7 @@ function install_bb64() {
|
||||
fi
|
||||
|
||||
# test if bb64 is installed
|
||||
"$AGENT_PATH/bb64" -v
|
||||
"$AGENT_LOCAL_PATH/bb64" -v
|
||||
if [ $? -ne 0 ]; then
|
||||
_die "bb64 did not install correctly."
|
||||
fi
|
||||
@ -71,11 +71,11 @@ function install_bb64() {
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
set -a
|
||||
AGENT_PATH="$SCRIPT_DIR"
|
||||
AGENT_LOCAL_PATH="$SCRIPT_DIR"
|
||||
set +a
|
||||
|
||||
_check_required_env_vars "AGENT_PATH"
|
||||
echo "Installing host agent into $AGENT_PATH"
|
||||
_check_required_env_vars "AGENT_LOCAL_PATH"
|
||||
echo "Installing host agent into $AGENT_LOCAL_PATH"
|
||||
|
||||
_check_docker_installed || _die "Docker is required."
|
||||
|
||||
|
Reference in New Issue
Block a user