Skip to content
Snippets Groups Projects
Commit e4a17589 authored by Bob Mottram's avatar Bob Mottram
Browse files

quotes

parent 404015f9
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ function riot_remove_bad_links {
}
function install_interactive_riot {
if [[ $ONION_ONLY != "no" ]]; then
if [[ "$ONION_ONLY" != "no" ]]; then
RIOT_DOMAIN_NAME='riot.local'
else
RIOT_DETAILS_COMPLETE=
......@@ -248,7 +248,7 @@ function install_riot {
RIOT_ONION_HOSTNAME=$(add_onion_service riot 80 ${RIOT_ONION_PORT})
if [[ $ONION_ONLY == "no" ]]; then
if [[ "$ONION_ONLY" == "no" ]]; then
riot_config_file="config.${RIOT_DOMAIN_NAME}.json"
cp config.sample.json $riot_config_file
{ echo '{';
......@@ -287,7 +287,7 @@ function install_riot {
fi
riot_nginx_site=/etc/nginx/sites-available/$RIOT_DOMAIN_NAME
if [[ $ONION_ONLY == "no" ]]; then
if [[ "$ONION_ONLY" == "no" ]]; then
function_check nginx_http_redirect
nginx_http_redirect $RIOT_DOMAIN_NAME
{ echo 'server {';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment