aboutsummaryrefslogtreecommitdiff
path: root/nextcloud-dl
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-10-01 20:44:15 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-10-01 20:44:15 -0300
commit2f4cdd61a0e7138497311595ac4db638fd7f5fd5 (patch)
tree3a73e1261f43e69f1dbc6e94de85484cfa2b4cda /nextcloud-dl
parent67f3f58b8b4c163ea0e8fc26df4a977605ff9d34 (diff)
downloaddownloaders-2f4cdd61a0e7138497311595ac4db638fd7f5fd5.tar.gz
downloaders-2f4cdd61a0e7138497311595ac4db638fd7f5fd5.tar.bz2
Fix: nextcloud-dl: sync data
Diffstat (limited to 'nextcloud-dl')
-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
#(