mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
also write install log to logfile
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
4ecead75b7
commit
cf38b9a73d
1 changed files with 4 additions and 0 deletions
|
|
@ -98,6 +98,10 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
|
||||||
# Write output to logfile.
|
# Write output to logfile.
|
||||||
exec > >(tee -i "/var/www/html/data/update.log")
|
exec > >(tee -i "/var/www/html/data/update.log")
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
|
else
|
||||||
|
# Write output to logfile.
|
||||||
|
exec > >(tee -i "/var/www/html/data/install.log")
|
||||||
|
exec 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$installed_version" != "0.0.0.0" ] && [ "$((IMAGE_MAJOR - INSTALLED_MAJOR))" -gt 1 ]; then
|
if [ "$installed_version" != "0.0.0.0" ] && [ "$((IMAGE_MAJOR - INSTALLED_MAJOR))" -gt 1 ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue