cosmetics: rename 'unofficial' to 'community' builds

This commit is contained in:
chewitt 2016-01-07 04:09:45 +01:00
parent bcd8e129f2
commit 0e1f4ef82a
2 changed files with 4 additions and 4 deletions

View File

@ -282,7 +282,7 @@ show_config() {
dashes="===========================" dashes="==========================="
config_message="$config_message\n $dashes$dashes$dashes" config_message="$config_message\n $dashes$dashes$dashes"
config_message="$config_message\n Configuration for $DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "unofficial"))" config_message="$config_message\n Configuration for $DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community"))"
config_message="$config_message\n $dashes$dashes$dashes" config_message="$config_message\n $dashes$dashes$dashes"
# Build options # Build options

View File

@ -95,7 +95,7 @@ fi
echo -e "VERSION=\"$OPENELEC_VERSION\"" >> $INSTALL/etc/os-release echo -e "VERSION=\"$OPENELEC_VERSION\"" >> $INSTALL/etc/os-release
echo -e "ID=\"openelec\"" >> $INSTALL/etc/os-release echo -e "ID=\"openelec\"" >> $INSTALL/etc/os-release
echo -e "VERSION_ID=\"$OS_VERSION\"" >> $INSTALL/etc/os-release echo -e "VERSION_ID=\"$OS_VERSION\"" >> $INSTALL/etc/os-release
echo -e "PRETTY_NAME=\"$DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "unofficial")) - Version: $OPENELEC_VERSION\"" >> $INSTALL/etc/os-release echo -e "PRETTY_NAME=\"$DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community")) - Version: $OPENELEC_VERSION\"" >> $INSTALL/etc/os-release
echo -e "HOME_URL=\"http://www.openelec.tv\"" >> $INSTALL/etc/os-release echo -e "HOME_URL=\"http://www.openelec.tv\"" >> $INSTALL/etc/os-release
echo -e "BUG_REPORT_URL=\"https://github.com/OpenELEC/OpenELEC.tv\"" >> $INSTALL/etc/os-release echo -e "BUG_REPORT_URL=\"https://github.com/OpenELEC/OpenELEC.tv\"" >> $INSTALL/etc/os-release
if [ -n "$GIT_HASH" ]; then if [ -n "$GIT_HASH" ]; then
@ -105,7 +105,7 @@ fi
if [ "$OFFICIAL" = "yes" ]; then if [ "$OFFICIAL" = "yes" ]; then
echo -e "OPENELEC_BUILD=\"official\"" >> $INSTALL/etc/os-release echo -e "OPENELEC_BUILD=\"official\"" >> $INSTALL/etc/os-release
else else
echo -e "OPENELEC_BUILD=\"unofficial\"" >> $INSTALL/etc/os-release echo -e "OPENELEC_BUILD=\"community\"" >> $INSTALL/etc/os-release
fi fi
# create /etc/issue # create /etc/issue
@ -114,7 +114,7 @@ fi
echo $GREETING2 >> $INSTALL/etc/issue echo $GREETING2 >> $INSTALL/etc/issue
echo $GREETING3 >> $INSTALL/etc/issue echo $GREETING3 >> $INSTALL/etc/issue
echo $GREETING4 >> $INSTALL/etc/issue echo $GREETING4 >> $INSTALL/etc/issue
echo "$DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "unofficial")) Version: $OPENELEC_VERSION" >> $INSTALL/etc/issue echo "$DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community")) Version: $OPENELEC_VERSION" >> $INSTALL/etc/issue
if [ -n "$GIT_HASH" ]; then if [ -n "$GIT_HASH" ]; then
echo "$DISTRONAME git: $GIT_HASH" >> $INSTALL/etc/issue echo "$DISTRONAME git: $GIT_HASH" >> $INSTALL/etc/issue
fi fi