1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-25 08:26:18 +00:00
Lakka-LibreELEC/projects/Generic/filesystem/usr/share/bootloader/canupdate.sh
2022-06-14 08:41:17 +00:00

10 lines
350 B
Bash

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
# Allow upgrades between different Generic builds
if [ "$1" = "Virtual.x86_64" -o "$1" = "Generic.x86_64" -o "$1" = "Generic-legacy.x86_64" -o "$1" = "gbm.x86_64" -o "$1" = "wayland.x86_64" -o "$1" = "x11.x86_64" ]; then
exit 0
else
exit 1
fi