mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 03:26:19 +00:00
a2c61d7906
MiQi and Tinker devices have been merged to RK3288 device at some point after LE9.2 release. This allows updating for them as well through mapping to the new RK3288 device. While at that also drop the pointless check for kernel versions.
17 lines
400 B
Bash
17 lines
400 B
Bash
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
# devices have been renamed after LE9.2
|
|
if [ "${1}" = "TinkerBoard.arm" -o "${1}" = "MiQi.arm" ]; then
|
|
if [ "${2}" = "RK3288.arm" ]; then
|
|
exit 0
|
|
fi
|
|
fi
|
|
|
|
# Allow upgrades between arm and aarch64
|
|
if [ "${1}" = "@PROJECT@.arm" -o "${1}" = "@PROJECT@.aarch64" ]; then
|
|
exit 0
|
|
else
|
|
exit 1
|
|
fi
|