1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Common prend la dernière version

This commit is contained in:
Maniack Crudelis 2017-01-19 00:29:02 +01:00 committed by GitHub
parent e643a2ba86
commit d8237d848b

View file

@ -5,13 +5,15 @@
APPNAME="nextcloud"
# Nextcloud version
LAST_VERSION="11.0.0"
LAST_VERSION="$(grep "VERSION=" "upgrade.d/upgrade.last.sh" | cut -d= -f2)"
NEXTCLOUD_SOURCE_SHA256="$(grep "NEXTCLOUD_SOURCE_SHA256=" "upgrade.d/upgrade.last.sh" | cut -d= -f2)"
# Package name for Nextcloud dependencies
DEPS_PKG_NAME="nextcloud-deps"
# Remote URL to fetch Nextcloud tarball
NEXTCLOUD_SOURCE_URL="https://download.nextcloud.com/server/releases/nextcloud-${VERSION}.tar.bz2"
NEXTCLOUD_SOURCE_URL="https://download.nextcloud.com/server/releases/nextcloud-${LAST_VERSION}.tar.bz2"
# App package root directory should be the parent folder
PKGDIR=$(cd ../; pwd)