fix basename -o

This commit is contained in:
CanbiZ
2025-04-01 10:58:29 +02:00
parent f7e7d457df
commit 8b66c8a9dc
207 changed files with 225 additions and 225 deletions

View File

@@ -26,7 +26,7 @@ msg_info "Installing AgentDVR"
mkdir -p /opt/agentdvr/agent
RELEASE=$(curl -fsSL "https://www.ispyconnect.com/api/Agent/DownloadLocation4?platform=Linux64&fromVersion=0" | grep -o 'https://.*\.zip')
cd /opt/agentdvr/agent
curl -fsSL "$RELEASE" -o $(basename"$RELEASE")
curl -fsSL "$RELEASE" -o $(basename "$RELEASE")
$STD unzip Agent_Linux64*.zip
rm -rf Agent_Linux64*.zip
chmod +x ./Agent