mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
scripts/get: only try 3 times before giving up
This commit is contained in:
parent
140e30b580
commit
9737e400d0
@ -41,7 +41,7 @@ if [ -n "$PKG_URL" -a -n "$PKG_SOURCE_NAME" ]; then
|
|||||||
PACKAGE="$SOURCES/$1/$PKG_SOURCE_NAME"
|
PACKAGE="$SOURCES/$1/$PKG_SOURCE_NAME"
|
||||||
PACKAGE_MIRROR="$DISTRO_MIRROR/$PKG_NAME/$PKG_SOURCE_NAME"
|
PACKAGE_MIRROR="$DISTRO_MIRROR/$PKG_NAME/$PKG_SOURCE_NAME"
|
||||||
[ "$VERBOSE" != "yes" ] && WGET_OPT=-q
|
[ "$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"
|
NBWGET="1"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user