From 1aaba583a1690b00fc2d03372c414f8fe1f75052 Mon Sep 17 00:00:00 2001 From: jpyg Date: Tue, 25 Jul 2023 22:12:00 +0200 Subject: [PATCH] Replace wget by curl --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 05ea00e..d230364 100644 --- a/install.sh +++ b/install.sh @@ -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