mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
scripts/get: only try 3 times before giving up
This commit is contained in:
@@ -41,7 +41,7 @@ if [ -n "$PKG_URL" -a -n "$PKG_SOURCE_NAME" ]; then
|
||||
PACKAGE="$SOURCES/$1/$PKG_SOURCE_NAME"
|
||||
PACKAGE_MIRROR="$DISTRO_MIRROR/$PKG_NAME/$PKG_SOURCE_NAME"
|
||||
[ "$VERBOSE" != "yes" ] && WGET_OPT=-q
|
||||
WGET_CMD="wget --timeout=30 --passive-ftp --no-check-certificate -c $WGET_OPT -O $SOURCES/$1/$PKG_SOURCE_NAME"
|
||||
WGET_CMD="wget --timeout=30 --tries=3 --passive-ftp --no-check-certificate -c $WGET_OPT -O $SOURCES/$1/$PKG_SOURCE_NAME"
|
||||
|
||||
NBWGET="1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user