Remove unnecessary onion only conditions

This commit is contained in:
Bob Mottram 2017-05-28 10:46:18 +01:00
parent 0de1341a5f
commit cd3d73ac84
1 changed files with 0 additions and 9 deletions

View File

@ -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