mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #1823 from vpeter4/stuff
autoupdate: checking download success
This commit is contained in:
commit
88f0cf423f
@ -46,6 +46,7 @@ download () {
|
||||
wget -U "$THIS_DISTRIBUTION ($THIS_ARCH): $THIS_VERSION" \
|
||||
-c ${1}?sysid=$SYSTEMID \
|
||||
-O $2 > /dev/null 2>&1
|
||||
[ $? -ne 0 ] && exit 1
|
||||
;;
|
||||
scp)
|
||||
scp $SCP_ARG "$1" $TMP_DIR
|
||||
|
@ -46,6 +46,7 @@ download () {
|
||||
wget -U "$THIS_DISTRIBUTION ($THIS_ARCH): $THIS_VERSION" \
|
||||
-c ${1}?sysid=$SYSTEMID \
|
||||
-O $2 > /dev/null 2>&1
|
||||
[ $? -ne 0 ] && exit 1
|
||||
;;
|
||||
scp)
|
||||
scp $SCP_ARG "$1" $TMP_DIR
|
||||
|
Loading…
x
Reference in New Issue
Block a user