mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
scripts: image: show BUILDER_NAME in System Information and LE settings
This commit is contained in:
parent
56eae6877e
commit
1db81d6041
@ -44,10 +44,15 @@ fi
|
|||||||
# Get origin url, fix git:// and git@github.com: urls if necessary
|
# 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/#')"
|
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
|
if [ "$OFFICIAL" = "yes" ]; then
|
||||||
LIBREELEC_BUILD="official"
|
LIBREELEC_BUILD="official"
|
||||||
else
|
else
|
||||||
LIBREELEC_BUILD="community"
|
if [ -n "$BUILDER_NAME" ]; then
|
||||||
|
LIBREELEC_BUILD="$BUILDER_NAME"
|
||||||
|
else
|
||||||
|
LIBREELEC_BUILD="community"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$CUSTOM_VERSION" ]; then
|
if [ -n "$CUSTOM_VERSION" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user