Remove unnecessary onion only conditions
This commit is contained in:
parent
0de1341a5f
commit
cd3d73ac84
|
@ -199,11 +199,6 @@ function install_cryptpad_main {
|
||||||
|
|
||||||
# an unprivileged user to run as
|
# an unprivileged user to run as
|
||||||
useradd -d $CRYPTPAD_DIR/ cryptpad
|
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
|
cd $CRYPTPAD_DIR
|
||||||
git checkout $CRYPTPAD_COMMIT -b $CRYPTPAD_COMMIT
|
git checkout $CRYPTPAD_COMMIT -b $CRYPTPAD_COMMIT
|
||||||
|
@ -282,10 +277,6 @@ function install_cryptpad_main {
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_cryptpad {
|
function install_cryptpad {
|
||||||
if [ ! $ONION_ONLY ]; then
|
|
||||||
ONION_ONLY='no'
|
|
||||||
fi
|
|
||||||
|
|
||||||
function_check install_nodejs
|
function_check install_nodejs
|
||||||
install_nodejs cryptpad
|
install_nodejs cryptpad
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue