1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

[fix] Copy only app missing in new apps dir

This commit is contained in:
ljf (zamentur) 2019-02-26 00:33:35 +01:00 committed by GitHub
parent 7ad7085bd0
commit 3b16063a82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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