diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-10-01 20:44:15 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-10-01 20:44:15 -0300 |
commit | 2f4cdd61a0e7138497311595ac4db638fd7f5fd5 (patch) | |
tree | 3a73e1261f43e69f1dbc6e94de85484cfa2b4cda /nextcloud-dl | |
parent | 67f3f58b8b4c163ea0e8fc26df4a977605ff9d34 (diff) | |
download | downloaders-2f4cdd61a0e7138497311595ac4db638fd7f5fd5.tar.gz downloaders-2f4cdd61a0e7138497311595ac4db638fd7f5fd5.tar.bz2 |
Fix: nextcloud-dl: sync data
Diffstat (limited to 'nextcloud-dl')
-rwxr-xr-x | nextcloud-dl | 3 |
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 #( |