Skip to content

Commit b8c64b8

Browse files
committed
fix: No need to restart apt update after the first time
1 parent 46b4e85 commit b8c64b8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

contrib/unix/install-deb.sh

-2
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ echo
9393
if $tasknetwork; then
9494
echo "network task is requested"
9595
echo "installing dependencies"
96-
apt update
9796
apt -y install libnet-snmp-perl libcrypt-des-perl libnet-nbname-perl libdigest-hmac-perl >> GLPIAgentInstallation.log 2>/dev/null
9897
wget $downloadurlnetwork -q --show-progress
9998
dpkg -i glpi-agent-task-network_$version\_all.deb
@@ -108,7 +107,6 @@ echo
108107
if $taskdeploy; then
109108
echo "deploy task is requested"
110109
echo "installing dependencies"
111-
apt update
112110
apt -y install libfile-copy-recursive-perl libparallel-forkmanager-perl >> GLPIAgentInstallation.log 2>/dev/null
113111
wget $downloadurldeploy -q --show-progress
114112
dpkg -i glpi-agent-task-deploy_$version\_all.deb

0 commit comments

Comments
 (0)