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:
parent
e643a2ba86
commit
d8237d848b
1 changed files with 4 additions and 2 deletions
|
@ -5,13 +5,15 @@
|
||||||
APPNAME="nextcloud"
|
APPNAME="nextcloud"
|
||||||
|
|
||||||
# Nextcloud version
|
# 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
|
# Package name for Nextcloud dependencies
|
||||||
DEPS_PKG_NAME="nextcloud-deps"
|
DEPS_PKG_NAME="nextcloud-deps"
|
||||||
|
|
||||||
# Remote URL to fetch Nextcloud tarball
|
# 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
|
# App package root directory should be the parent folder
|
||||||
PKGDIR=$(cd ../; pwd)
|
PKGDIR=$(cd ../; pwd)
|
||||||
|
|
Loading…
Add table
Reference in a new issue