mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/get_archive: error on 400 series http status codes
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
parent
00b8c80375
commit
7b57ee7a3c
@ -23,7 +23,7 @@ pkg_lock_status "GETPKG" "${PKG_NAME}" "unpack" "downloading package..."
|
||||
PACKAGE_MIRROR="${DISTRO_MIRROR}/${PKG_NAME}/${PKG_SOURCE_NAME}"
|
||||
|
||||
[ "${VERBOSE}" != "yes" ] && GET_OPT="--silent --show-error"
|
||||
GET_CMD="curl ${GET_OPT} --connect-timeout 30 --retry 3 --continue-at - --location --max-redirs 5 --output ${PACKAGE}"
|
||||
GET_CMD="curl ${GET_OPT} --fail --connect-timeout 30 --retry 3 --continue-at - --location --max-redirs 5 --output ${PACKAGE}"
|
||||
|
||||
# unset LD_LIBRARY_PATH to stop wget from using toolchain/lib and loading libssl.so/libcrypto.so instead of host libraries
|
||||
unset LD_LIBRARY_PATH
|
||||
|
Loading…
x
Reference in New Issue
Block a user