mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
squash: belt & braces
This commit is contained in:
parent
dc61719ae4
commit
54c3be9f91
@ -21,7 +21,7 @@
|
|||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
_get_file_already_downloaded() {
|
_get_file_already_downloaded() {
|
||||||
[ ! -f $PACKAGE ] && return 1
|
[ ! -f $PACKAGE -o ! -f $STAMP_URL -o ! -f $STAMP_SHA ] && return 1
|
||||||
[ -n "${PKG_SHA256}" -a "$(cat $STAMP_SHA 2>/dev/null)" != "${PKG_SHA256}" ] && return 1
|
[ -n "${PKG_SHA256}" -a "$(cat $STAMP_SHA 2>/dev/null)" != "${PKG_SHA256}" ] && return 1
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user