mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
amlogic: fix canupdate.sh script
This commit is contained in:
parent
fe2c5009e4
commit
15ed8f6aec
@ -12,9 +12,8 @@ case $(uname -r) in
|
||||
;;
|
||||
esac
|
||||
|
||||
# allow upgrades between aarch64 and arm images
|
||||
PROJECT=$("$1" | cut -d. -f1)
|
||||
if [ "$1" = "${PROJECT}.aarch64" -o "$1" = "${PROJECT}.arm" ]; then
|
||||
# Allow upgrades between arm and aarch64
|
||||
if [ "${1}" = "@PROJECT@.arm" -o "${1}" = "@PROJECT@.aarch64" ]; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user