aboutsummaryrefslogtreecommitdiff
path: root/nextcloud-dl
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-12-31 19:51:34 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-12-31 19:51:34 -0300
commitfeb489556dcd7f6ac047fa7601d30cbc1aaf9f3e (patch)
treefd1fcc5a3c84774d3c0958ccec0e2b7b845208e1 /nextcloud-dl
parentf59ad63ec47b82282dffe5237542a66a69f0db5e (diff)
downloaddownloaders-master.tar.gz
downloaders-master.tar.bz2
Fix: netxcloud-dl updatesHEADmaster
Diffstat (limited to 'nextcloud-dl')
-rwxr-xr-xnextcloud-dl4
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