Wiki/blog is the default if everything is being installed

This commit is contained in:
Bob Mottram 2014-10-01 18:39:54 +01:00
parent e1d821d4db
commit de82f2e6d9
1 changed files with 4 additions and 4 deletions

View File

@ -2248,8 +2248,8 @@ function install_wiki {
if grep -Fxq "install_wiki" $COMPLETION_FILE; then
return
fi
# if this is exclusively a writer setup
if [[ $SYSTEM_TYPE == "$VARIANT_WRITER" ]]; then
# if everything is being installed or if this is exclusively a writer setup
if [[ ! $SYSTEM_TYPE || $SYSTEM_TYPE == "$VARIANT_WRITER" ]]; then
WIKI_DOMAIN_NAME=$DOMAIN_NAME
WIKI_FREEDNS_SUBDOMAIN_CODE=$FREEDNS_SUBDOMAIN_CODE
fi
@ -2449,8 +2449,8 @@ function install_blog {
if grep -Fxq "install_blog" $COMPLETION_FILE; then
return
fi
# if this is exclusively a writer setup
if [[ $SYSTEM_TYPE == "$VARIANT_WRITER" ]]; then
# if everything is being installed or if this is exclusively a writer setup
if [[ ! $SYSTEM_TYPE || $SYSTEM_TYPE == "$VARIANT_WRITER" ]]; then
WIKI_DOMAIN_NAME=$DOMAIN_NAME
WIKI_FREEDNS_SUBDOMAIN_CODE=$FREEDNS_SUBDOMAIN_CODE
fi