Replace wget by curl
This commit is contained in:
parent
6f85689327
commit
1aaba583a1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue