Don't install hubzilla on onion-only systems

This commit is contained in:
Bob Mottram 2016-02-23 10:36:27 +00:00
parent fa194ce56d
commit 7e50e6e793
1 changed files with 4 additions and 0 deletions

View File

@ -8992,6 +8992,10 @@ function install_hubzilla {
if [ ! $HUBZILLA_DOMAIN_NAME ]; then
return
fi
# Don't install on onion-only systems
if [[ $ONION_ONLY != 'no' ]]; then
return
fi
# update to a new commit if needed
set_repo_commit /var/www/$HUBZILLA_DOMAIN_NAME/htdocs "Hubzilla commit" "$HUBZILLA_COMMIT" $HUBZILLA_REPO