Domain name logic

This commit is contained in:
Bob Mottram 2014-09-26 17:06:18 +01:00
parent e9bda709bc
commit d9ef2abccd
1 changed files with 6 additions and 1 deletions

View File

@ -2054,7 +2054,12 @@ function install_blog {
if grep -Fxq "install_blog" $COMPLETION_FILE; then if grep -Fxq "install_blog" $COMPLETION_FILE; then
return return
fi fi
if [ ! -f $WIKI_DOMAIN_NAME ]; then # if this is exclusively a writer setup
if [[ $SYSTEM_TYPE == "$VARIANT_WRITER" ]]; then
WIKI_DOMAIN_NAME=$DOMAIN_NAME
WIKI_FREEDNS_SUBDOMAIN_CODE=$FREEDNS_SUBDOMAIN_CODE
fi
if [ ! $WIKI_DOMAIN_NAME ]; then
return return
fi fi