nextcloud: persistent timezone variable

This commit is contained in:
Wonderfall
2016-10-12 13:35:42 +02:00
parent 28b622a160
commit a05104eb94
4 changed files with 4 additions and 2 deletions

View File

@ -79,7 +79,6 @@ echo "Automatic configuration finished."
# users within the proper timeframe
# * We need to set the logdateformat to something that will work correctly with fail2ban
# Use PHP to read the settings file, modify it, and write out the new settings array.
echo ${TZ:-UTC} >/etc/timezone
TIMEZONE=$(cat /etc/timezone)
CONFIG_TEMP=$(/bin/mktemp)