From 9c769f4ffc0ddda4d24eedfc0828a6f34d20072a Mon Sep 17 00:00:00 2001 From: Tilo Spannagel Date: Tue, 26 Feb 2019 23:46:57 +0100 Subject: [PATCH] Copy version.php last Signed-off-by: Tilo Spannagel --- docker-entrypoint.sh | 1 + upgrade.exclude | 1 + 2 files changed, 2 insertions(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 07644c0..6ef2540 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -51,6 +51,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP rsync $rsync_options --include "/$dir/" --exclude '/*' /usr/src/nextcloud/ /var/www/html/ fi done + rsync $rsync_options --include '/version.php' --exclude '/*' /usr/src/nextcloud/ /var/www/html/ echo "Initializing finished" #install diff --git a/upgrade.exclude b/upgrade.exclude index a1f2de9..354864d 100644 --- a/upgrade.exclude +++ b/upgrade.exclude @@ -2,3 +2,4 @@ /data/ /custom_apps/ /themes/ +/version.php