cosmetics: rename 'unofficial' to 'community' builds

This commit is contained in:
chewitt 2016-01-07 04:09:45 +01:00 committed by Stephan Raue
parent c54c35552a
commit f2487bbeab
2 changed files with 4 additions and 4 deletions

View File

@ -282,7 +282,7 @@ show_config() {
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"
# Build options

View File

@ -95,7 +95,7 @@ fi
echo -e "VERSION=\"$OPENELEC_VERSION\"" >> $INSTALL/etc/os-release
echo -e "ID=\"openelec\"" >> $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 "BUG_REPORT_URL=\"https://github.com/OpenELEC/OpenELEC.tv\"" >> $INSTALL/etc/os-release
if [ -n "$GIT_HASH" ]; then
@ -105,7 +105,7 @@ fi
if [ "$OFFICIAL" = "yes" ]; then
echo -e "OPENELEC_BUILD=\"official\"" >> $INSTALL/etc/os-release
else
echo -e "OPENELEC_BUILD=\"unofficial\"" >> $INSTALL/etc/os-release
echo -e "OPENELEC_BUILD=\"community\"" >> $INSTALL/etc/os-release
fi
# create /etc/issue
@ -114,7 +114,7 @@ fi
echo $GREETING2 >> $INSTALL/etc/issue
echo $GREETING3 >> $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
echo "$DISTRONAME git: $GIT_HASH" >> $INSTALL/etc/issue
fi