doc/installation: refer latest version

This commit is contained in:
Thomas Gelf 2019-03-01 11:24:14 +01:00
parent f9321ec7b3
commit a56dacb9c5
1 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ You might want to use a script as follows for this task:
ICINGAWEB_MODULEPATH="/usr/share/icingaweb2/modules" ICINGAWEB_MODULEPATH="/usr/share/icingaweb2/modules"
REPO_URL="https://github.com/icinga/icingaweb2-module-director" REPO_URL="https://github.com/icinga/icingaweb2-module-director"
TARGET_DIR="${ICINGAWEB_MODULEPATH}/director" TARGET_DIR="${ICINGAWEB_MODULEPATH}/director"
MODULE_VERSION="1.6.0" MODULE_VERSION="1.6.2"
URL="${REPO_URL}/archive/v${MODULE_VERSION}.tar.gz" URL="${REPO_URL}/archive/v${MODULE_VERSION}.tar.gz"
install -d -m 0755 "${TARGET_DIR}" install -d -m 0755 "${TARGET_DIR}"
wget -q -O - "$URL" | tar xfz - -C "${TARGET_DIR}" --strip-components 1 wget -q -O - "$URL" | tar xfz - -C "${TARGET_DIR}" --strip-components 1
@ -101,7 +101,7 @@ It will be immediately ready for use:
ICINGAWEB_MODULEPATH="/usr/share/icingaweb2/modules" ICINGAWEB_MODULEPATH="/usr/share/icingaweb2/modules"
REPO_URL="https://github.com/icinga/icingaweb2-module-director" REPO_URL="https://github.com/icinga/icingaweb2-module-director"
TARGET_DIR="${ICINGAWEB_MODULEPATH}/director" TARGET_DIR="${ICINGAWEB_MODULEPATH}/director"
MODULE_VERSION="1.6.0" MODULE_VERSION="1.6.2"
git clone "${REPO_URL}" "${TARGET_DIR}" --branch v${MODULE_VERSION} git clone "${REPO_URL}" "${TARGET_DIR}" --branch v${MODULE_VERSION}
You can now directly use our current GIT master or check out a specific version. You can now directly use our current GIT master or check out a specific version.