Update scripts/image

Co-Authored-By: MilhouseVH <MilhouseVH@users.noreply.github.com>
This commit is contained in:
sky42 2019-09-08 20:27:05 +02:00 committed by GitHub
parent d55e191cda
commit 3f77c14b60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,7 @@ if [ -n "${CUSTOM_VERSION}" ]; then
fi
LIBREELEC_ARCH="${DEVICE:-${PROJECT}}.${TARGET_ARCH}"
if [ "${LIBREELEC_BUILD}" = "official" ]; then
if [ "${OFFICIAL}" = "yes" ]; then
TARGET_VERSION="${LIBREELEC_ARCH}-${LIBREELEC_VERSION}"
else
TARGET_VERSION="${LIBREELEC_ARCH}-${LIBREELEC_BUILD}-${LIBREELEC_VERSION}"