From 1eaefd9c3612d8905dc3d69d44c1060d746c67dc Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 9 May 2018 13:08:53 +0100 Subject: [PATCH] Disable gnusocial and postactiv on onion only installs There are database problems possibly related to being primarily on an onion address --- src/freedombone-app-gnusocial | 4 ++-- src/freedombone-app-postactiv | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/freedombone-app-gnusocial b/src/freedombone-app-gnusocial index 05cf03ee..93c57f10 100755 --- a/src/freedombone-app-gnusocial +++ b/src/freedombone-app-gnusocial @@ -912,8 +912,8 @@ function install_gnusocial_main { } function install_gnusocial { - if [ ! "$ONION_ONLY" ]; then - ONION_ONLY='no' + if [[ "$ONION_ONLY" != 'no' ]]; then + return fi install_gnusocial_main diff --git a/src/freedombone-app-postactiv b/src/freedombone-app-postactiv index fd9e97c5..ae7e7b25 100755 --- a/src/freedombone-app-postactiv +++ b/src/freedombone-app-postactiv @@ -927,8 +927,8 @@ function install_postactiv_main { } function install_postactiv { - if [ ! "$ONION_ONLY" ]; then - ONION_ONLY='no' + if [[ "$ONION_ONLY" != 'no' ]]; then + return fi install_postactiv_main