0
Fork 0
mirror of https://github.com/netweak/agent.git synced 2024-12-16 21:46:58 -05:00

Merge pull request #3 from payagej/master

Replace wget by curl
This commit is contained in:
Lucas Decrock 2023-07-28 09:39:58 +02:00 committed by GitHub
commit 394f29d48a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,7 +119,7 @@ mkdir -p /etc/netweak
mkdir -p /etc/netweak/log
# Download agent
echo -e "| Downloading agent.sh to /etc/netweak\n|\n| + $(wget -nv -o /dev/stdout -O /etc/netweak/agent.sh --no-check-certificate https://github.com/netweak/agent/raw/master/agent.sh)"
echo -e "| Downloading agent.sh to /etc/netweak\n|\n| + $(curl -JLso /etc/netweak/agent.sh https://github.com/netweak/agent/raw/master/agent.sh)"
if [ -f /etc/netweak/agent.sh ]
then