From cd3d73ac84b0688ed25ceea1b21f7cb1387052da Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 28 May 2017 10:46:18 +0100 Subject: [PATCH] Remove unnecessary onion only conditions --- src/freedombone-app-cryptpad | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/freedombone-app-cryptpad b/src/freedombone-app-cryptpad index 08fb3684..7188d257 100755 --- a/src/freedombone-app-cryptpad +++ b/src/freedombone-app-cryptpad @@ -199,11 +199,6 @@ function install_cryptpad_main { # an unprivileged user to run as useradd -d $CRYPTPAD_DIR/ cryptpad - if [[ $ONION_ONLY == "no" ]]; then - chgrp -R ssl-cert /etc/letsencrypt - chmod -R g=rX /etc/letsencrypt - usermod -a -G ssl-cert cryptpad - fi cd $CRYPTPAD_DIR git checkout $CRYPTPAD_COMMIT -b $CRYPTPAD_COMMIT @@ -282,10 +277,6 @@ function install_cryptpad_main { } function install_cryptpad { - if [ ! $ONION_ONLY ]; then - ONION_ONLY='no' - fi - function_check install_nodejs install_nodejs cryptpad