Files
Arch-R/projects/RPi/bootloader/canupdate.sh
Matthias Reichl 80145c9248 RPi: add canupdate.sh script
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-09-29 00:57:07 +02:00

12 lines
251 B
Bash
Executable File

#!/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