Generic: allow updating from different Generic builds

This commit is contained in:
CvH 2021-09-05 01:44:24 +02:00
parent 602fa37aea
commit fa59e6616b

View File

@ -1,2 +1,9 @@
# Allow upgrades from Virtual to Generic # SPDX-License-Identifier: GPL-2.0
[ "$1" = "Virtual.x86_64" ] && exit 0 || exit 1 # Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
# Allow upgrades between different Generic builds
if [ "$1" = "Virtual.x86_64" -o "$1" = "Generic-legacy.x86_64" -o "$1" = "Generic.x86_64" ]; then
exit 0
else
exit 1
fi