Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog.md4
-rwxr-xr-xupdate.sh5
2 files changed, 7 insertions, 2 deletions
diff --git a/changelog.md b/changelog.md
index 85699ace..9d6f9dc4 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,7 @@
-[v0.59.14](https://github.com/nextcloud/nextcloudpi/commit/c8992cf) (2018-09-18) spDYN: fix misspelled variables
+[v0.59.15](https://github.com/nextcloud/nextcloudpi/commit/5498397) (2018-09-17) Don't overwrite an existing mail_smtpmode, if it is not "PHP"
+
+[v0.59.14](https://github.com/nextcloud/nextcloudpi/commit/1420348) (2018-09-18) spDYN: fix misspelled variables
[v0.59.13](https://github.com/nextcloud/nextcloudpi/commit/3479014) (2018-09-15) spDYN: support IPv6
diff --git a/update.sh b/update.sh
index 35ab8a41..b60720f1 100755
--- a/update.sh
+++ b/update.sh
@@ -145,7 +145,10 @@ EOF
}
# NC14 doesnt support php mail
- sudo -u www-data php /var/www/nextcloud/occ config:system:set mail_smtpmode --value="sendmail"
+ mail_smtpmode=$(sudo -u www-data php /var/www/nextcloud/occ config:system:get mail_smtpmode)
+ [[ $mail_smtpmode == "php" ]] && {
+ sudo -u www-data php /var/www/nextcloud/occ config:system:set mail_smtpmode --value="sendmail"
+ }
} # end - only live updates