From 3b16063a827fc22cc3084cc6fa0bcf8936624136 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Tue, 26 Feb 2019 00:33:35 +0100 Subject: [PATCH] [fix] Copy only app missing in new apps dir --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index d58f4b0..57add37 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -205,6 +205,7 @@ do # Backup 3rd party applications from the current nextcloud # But do not overwrite if there is any upgrade # (apps directory already exists in Nextcloud archive) + touch -t 197001010000 $final_path/apps/* cp -a --update "$final_path/apps" "$tmpdir" # Replace the old nextcloud by the new one