From 35c1ea4ae7740a0d52f45d3b7388f8292f3aa674 Mon Sep 17 00:00:00 2001 From: solosky Date: Sun, 13 Oct 2019 21:45:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=9C=A8=E8=BD=AF=E4=BB=B6?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E5=AE=89=E8=A3=85=E8=BD=AF=E4=BB=B6=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E4=B8=8B=E8=BD=BD=E6=96=87=E4=BB=B6=E6=A0=A1=E9=AA=8C?= =?UTF-8?q?=E4=B8=8D=E4=B8=80=E8=87=B4=E7=9A=84BUG=20=E5=8E=BB=E6=8E=89wge?= =?UTF-8?q?t=E6=97=A0=E6=B3=95=E8=AF=86=E5=88=AB=E7=9A=84--tries=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit root@Openwrt:/koolshare/scripts# wget Usage: wget [options] Options: -4 Use IPv4 only -6 Use IPv6 only -q Turn off status messages -O Redirect output to file (use "-" for stdout) -P Set directory for output files --user= HTTP authentication username --password= HTTP authentication password --user-agent|-U Set HTTP user agent --post-data=STRING use the POST method; send STRING as the data --spider|-s Spider mode - only check file existence --timeout=N|-T N Set connect/request timeout to N seconds --proxy=on|off|-Y on|off Enable/disable env var configured proxy HTTPS options: --ca-certificate= Load CA certificates from file --no-check-certificate don't validate the server's certificate --- softcenter/softcenter/scripts/ks_app_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/softcenter/softcenter/scripts/ks_app_install.sh b/softcenter/softcenter/scripts/ks_app_install.sh index 5a4ecccc..d337337b 100755 --- a/softcenter/softcenter/scripts/ks_app_install.sh +++ b/softcenter/softcenter/scripts/ks_app_install.sh @@ -75,7 +75,7 @@ install_module() { rm -rf "/tmp/$softcenter_installing_module" dbus set softcenter_installing_status="3" sleep 2 - wget --no-check-certificate --tries=1 --timeout=15 $TAR_URL + wget --no-check-certificate --timeout=15 $TAR_URL RETURN_CODE=$? if [ "$RETURN_CODE" != "0" ]; then