Browse Source

Common prend la dernière version

pull/22/head
Maniack Crudelis 9 years ago
committed by GitHub
parent
commit
d8237d848b
  1. 6
      scripts/_common.sh

6
scripts/_common.sh

@ -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…
Cancel
Save