mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
Generic: allow updating from different Generic builds
This commit is contained in:
@@ -1,2 +1,9 @@
|
||||
# Allow upgrades from Virtual to Generic
|
||||
[ "$1" = "Virtual.x86_64" ] && exit 0 || exit 1
|
||||
# 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-legacy.x86_64" -o "$1" = "Generic.x86_64" ]; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user