From 4f5c749e057a6dc894e727550b1f5e0db7ae6c6f Mon Sep 17 00:00:00 2001 From: Git Repository Date: Mon, 24 Apr 2017 15:29:30 -0700 Subject: [PATCH] Move the config line for mail_domain to always reset the PRIMARY_HOST --- setup/owncloud.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/owncloud.sh b/setup/owncloud.sh index e270fab8..68b32acb 100755 --- a/setup/owncloud.sh +++ b/setup/owncloud.sh @@ -221,7 +221,6 @@ if [ ! -f $STORAGE_ROOT/owncloud/owncloud.db ]; then 'mail_smtpname' => '', 'mail_smtppassword' => '', 'mail_from_address' => 'owncloud', - 'mail_domain' => '$PRIMARY_HOSTNAME', ); ?> EOF @@ -278,6 +277,8 @@ include("$STORAGE_ROOT/owncloud/config.php"); \$CONFIG['logtimezone'] = '$TIMEZONE'; \$CONFIG['logdateformat'] = 'Y-m-d H:i:s'; +\$CONFIG['mail_domain'] => '$PRIMARY_HOSTNAME', + echo "