From 0c6d9d41afb5762c86bca6905172d52bd800e584 Mon Sep 17 00:00:00 2001 From: Gary Date: Fri, 1 Mar 2024 19:32:37 -0800 Subject: [PATCH] main: replace curl with wget on install.sh --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index f8aa68697..0ad1066f6 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -17,7 +17,7 @@ else OS_VERSION=$(grep -w "VERSION_ID" /etc/os-release | cut -d "=" -f 2 | tr -d '"') fi -LATEST_VERSION=$(curl --silent $CDN/versions.json | grep -i version | sed -n '2p' | xargs | awk '{print $2}' | tr -d ',') +LATEST_VERSION=$(wget -q -O - $CDN/versions.json | grep -i version | sed -n '2p' | xargs | awk '{print $2}' | tr -d ',') DATE=$(date +"%Y%m%d-%H%M%S") if [ $EUID != 0 ]; then