diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-12-31 19:51:34 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-12-31 19:51:34 -0300 |
commit | feb489556dcd7f6ac047fa7601d30cbc1aaf9f3e (patch) | |
tree | fd1fcc5a3c84774d3c0958ccec0e2b7b845208e1 /nextcloud-dl | |
parent | f59ad63ec47b82282dffe5237542a66a69f0db5e (diff) | |
download | downloaders-master.tar.gz downloaders-master.tar.bz2 |
Diffstat (limited to 'nextcloud-dl')
-rwxr-xr-x | nextcloud-dl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nextcloud-dl b/nextcloud-dl index 39408ab..2df76b9 100755 --- a/nextcloud-dl +++ b/nextcloud-dl @@ -25,8 +25,9 @@ elif [ -d "nextcloud-$VERSION" ]; then fi # Download package -wget -c https://download.nextcloud.com/server/releases/nextcloud-$VERSION.tar.bz2 || exit 1 +wget -c https://download.nextcloud.com/server/releases/nextcloud-$VERSION.tar.bz2 || exit 1 wget -c https://download.nextcloud.com/server/releases/nextcloud-$VERSION.tar.bz2.sha256 || exit 1 +wget -c https://download.nextcloud.com/server/releases/nextcloud-$VERSION.metadata || exit 1 sha256sum -c nextcloud-$VERSION.tar.bz2.sha256 || exit -1 # Decompress @@ -42,6 +43,7 @@ sha256sum -c nextcloud-$VERSION.tar.bz2.sha256 || exit -1 # Remove package rm nextcloud-$VERSION.tar.bz2 rm nextcloud-$VERSION.tar.bz2.sha256 +rm nextcloud-$VERSION.metadata # Sync configuration and data chown -R root: nextcloud-$VERSION |