From 2f4cdd61a0e7138497311595ac4db638fd7f5fd5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 1 Oct 2020 20:44:15 -0300 Subject: Fix: nextcloud-dl: sync data --- nextcloud-dl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nextcloud-dl b/nextcloud-dl index 639ac87..94cb931 100755 --- a/nextcloud-dl +++ b/nextcloud-dl @@ -42,9 +42,10 @@ sha256sum -c nextcloud-$VERSION.tar.bz2.sha256 || exit -1 # Remove package rm nextcloud-$VERSION.tar.bz2 -# Sync configuration +# Sync configuration and data chown -R root. nextcloud-$VERSION rsync -av nextcloud-$OLD_VERSION/config/ nextcloud-$VERSION/config/ +rsync -av nextcloud-$OLD_VERSION/data/ nextcloud-$VERSION/data/ # Symlink to contrib content #( -- cgit v1.2.3