mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-19 22:11:21 +02:00
[arm64] Port scripts titled between A-F to support arm64 (#15181)
This commit is contained in:
@@ -25,13 +25,13 @@ msg_ok "Installed Dependencies"
|
||||
|
||||
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')
|
||||
RELEASE=$(curl -fsSL "https://www.ispyconnect.com/api/Agent/DownloadLocation4?platform=$(arch_resolve "Linux64" "LinuxARM64")&fromVersion=0" | grep -o 'https://.*\.zip')
|
||||
cd /opt/agentdvr/agent
|
||||
curl -fsSL "$RELEASE" -o $(basename "$RELEASE")
|
||||
$STD unzip Agent_Linux64*.zip
|
||||
$STD unzip Agent_$(arch_resolve "Linux64" "LinuxARM64")*.zip
|
||||
chmod +x ./Agent
|
||||
echo $RELEASE >~/.agentdvr
|
||||
rm -rf Agent_Linux64*.zip
|
||||
rm -rf Agent_$(arch_resolve "Linux64" "LinuxARM64")*.zip
|
||||
msg_ok "Installed AgentDVR"
|
||||
|
||||
msg_info "Creating Service"
|
||||
|
||||
Reference in New Issue
Block a user