mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
autoupdate: fix autoupdate script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
eaee4c297a
commit
0da664bdcf
@ -92,6 +92,10 @@ if [ ! -f /var/lock/update.lock ]; then
|
||||
[ "$THIS_MINOR" -lt "$NEW_MINOR" -a \
|
||||
"$THIS_MAJOR" -eq "$NEW_MAJOR" -a \
|
||||
"$NEW_MINOR" -lt 90 ] || \
|
||||
[ "$THIS_MINOR" -lt "$NEW_MINOR" -a \
|
||||
"$THIS_MAJOR" -eq "$NEW_MAJOR" -a \
|
||||
"$THIS_MINOR" -ge 90 -a \
|
||||
"$NEW_MINOR" -ge 90 ] || \
|
||||
[ "$THIS_MINOR" -ge 90 -a \
|
||||
"$NEW_MINOR" -lt 90 -a \
|
||||
$(( $THIS_MAJOR + 1 )) -eq "$NEW_MAJOR" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user