Skip to content

Commit 16ac51b

Browse files
authored
Fixes (#5726)
1 parent 28ed2da commit 16ac51b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

install/agentdvr-install.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ network_check
1414
update_os
1515

1616
msg_info "Installing Dependencies"
17-
$STD apt-get install -y apt-transport-https
18-
$STD apt-get install -y alsa-utils
19-
$STD apt-get install -y libxext-dev
20-
$STD apt-get install -y fontconfig
21-
$STD apt-get install -y libva-drm2
17+
$STD apt-get install -y \
18+
apt-transport-https \
19+
alsa-utils \
20+
libxext-dev \
21+
fontconfig \
22+
libva-drm2
2223
msg_ok "Installed Dependencies"
2324

2425
msg_info "Installing AgentDVR"
@@ -27,7 +28,6 @@ RELEASE=$(curl -fsSL "https://www.ispyconnect.com/api/Agent/DownloadLocation4?pl
2728
cd /opt/agentdvr/agent
2829
curl -fsSL "$RELEASE" -o $(basename "$RELEASE")
2930
$STD unzip Agent_Linux64*.zip
30-
rm -rf Agent_Linux64*.zip
3131
chmod +x ./Agent
3232
msg_ok "Installed AgentDVR"
3333

@@ -54,6 +54,7 @@ motd_ssh
5454
customize
5555

5656
msg_info "Cleaning up"
57+
rm -rf Agent_Linux64*.zip
5758
$STD apt-get -y autoremove
5859
$STD apt-get -y autoclean
5960
msg_ok "Cleaned"

0 commit comments

Comments
 (0)