Merge pull request #3003 from sky42src/le90_image_builder_name

scripts: image: show BUILDER_NAME in System Information and LE settings
This commit is contained in:
MilhouseVH 2018-10-02 11:39:05 +01:00 committed by GitHub
commit f1afb0c4e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,10 +44,15 @@ fi
# Get origin url, fix git:// and git@github.com: urls if necessary
ORIGIN_URL="$(git remote -v | awk '$1 == "origin" { print $2 }' | head -1 | sed 's#\.git$##;s#^git:#https:#;s#^git@github\.com:#https://github.com/#')"
[ "${BUILDER_NAME,,}" = "official" ] && BUILDER_NAME=
if [ "$OFFICIAL" = "yes" ]; then
LIBREELEC_BUILD="official"
else
LIBREELEC_BUILD="community"
if [ -n "$BUILDER_NAME" ]; then
LIBREELEC_BUILD="$BUILDER_NAME"
else
LIBREELEC_BUILD="community"
fi
fi
if [ -n "$CUSTOM_VERSION" ]; then