Matrix not available on onion only installs

This commit is contained in:
Bob Mottram 2017-06-20 20:42:13 +01:00
parent 1dedb0cec9
commit 35c6a6f9e2
2 changed files with 8 additions and 0 deletions

View File

@ -626,6 +626,10 @@ function install_home_server {
}
function install_matrix {
if [[ $ONION_ONLY != 'no' ]]; then
return
fi
check_ram_availability 1500
if [ ! -d $INSTALL_DIR ]; then

View File

@ -207,6 +207,10 @@ function remove_riot {
}
function install_riot {
if [[ $ONION_ONLY != 'no' ]]; then
return
fi
# check that matrix has been installed
if [ ! $MATRIX_DOMAIN_NAME ]; then
exit 687292