mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +00:00
Merge pull request #8114 from jernejsk/aw_canupdt
[LE12] Allwinner: Add canupdate.sh script
This commit is contained in:
commit
da9aa7b9a4
11
projects/Allwinner/bootloader/canupdate.sh
Normal file
11
projects/Allwinner/bootloader/canupdate.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
# Copyright (C) 2023-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
|
# Allow upgrades between arm and aarch64
|
||||||
|
if [ "${1}" = "@PROJECT@.arm" -o "${1}" = "@PROJECT@.aarch64" ]; then
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
Loading…
x
Reference in New Issue
Block a user