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