From bb888e38a65521d96df09f1c9c6af09ceef4857d Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Mon, 25 Feb 2019 23:53:59 +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..70c816a 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