aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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