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

Replace wget by curl

This commit is contained in:
jpyg 2023-07-25 22:12:00 +02:00
parent 6f85689327
commit 1aaba583a1

View file

@ -119,7 +119,7 @@ mkdir -p /etc/netweak
mkdir -p /etc/netweak/log mkdir -p /etc/netweak/log
# Download agent # 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 ] if [ -f /etc/netweak/agent.sh ]
then then