aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnextcloud-dl3
1 files changed, 2 insertions, 1 deletions
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
#(