From 7e50e6e79355a45218fde7f15100b57b0f863ecc Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 23 Feb 2016 10:36:27 +0000 Subject: [PATCH] Don't install hubzilla on onion-only systems --- src/freedombone | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone b/src/freedombone index 46d9b981..f35d8d83 100755 --- a/src/freedombone +++ b/src/freedombone @@ -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