README.md: Use a real version in the examples
This commit is contained in:
parent
9fb2109acf
commit
86924957f4
|
@ -16,7 +16,7 @@ path for Icinga Web 2 installations is: `/usr/share/icinga-php`
|
||||||
Download or clone this repository there (e.g. `/usr/share/icinga-php/vendor`) and you're done.
|
Download or clone this repository there (e.g. `/usr/share/icinga-php/vendor`) and you're done.
|
||||||
|
|
||||||
> **Note**: Do NOT install the GIT master, it will not work! Checking out a
|
> **Note**: Do NOT install the GIT master, it will not work! Checking out a
|
||||||
> branch like `stable/1.0.0` or a tag like `v1.0.0` is fine.
|
> branch like `stable/0.10.0` or a tag like `v0.10.0` is fine.
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ Download or clone this repository there (e.g. `/usr/share/icinga-php/vendor`) an
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
INSTALL_PATH="/usr/share/icinga-php/vendor"
|
INSTALL_PATH="/usr/share/icinga-php/vendor"
|
||||||
INSTALL_VERSION="v1.0.0"
|
INSTALL_VERSION="v0.10.0"
|
||||||
mkdir "$INSTALL_PATH"
|
mkdir "$INSTALL_PATH"
|
||||||
&& wget -q "https://github.com/Icinga/icinga-php-thirdparty/archive/$INSTALL_VERSION.tar.gz" -O - \
|
&& wget -q "https://github.com/Icinga/icinga-php-thirdparty/archive/$INSTALL_VERSION.tar.gz" -O - \
|
||||||
| tar xfz - -C "$INSTALL_PATH" --strip-components 1
|
| tar xfz - -C "$INSTALL_PATH" --strip-components 1
|
||||||
|
@ -34,6 +34,6 @@ mkdir "$INSTALL_PATH"
|
||||||
|
|
||||||
```
|
```
|
||||||
INSTALL_PATH="/usr/share/icinga-php/vendor"
|
INSTALL_PATH="/usr/share/icinga-php/vendor"
|
||||||
INSTALL_VERSION="stable/1.0.0"
|
INSTALL_VERSION="stable/0.10.0"
|
||||||
git clone https://github.com/Icinga/icinga-php-thirdparty.git "$INSTALL_PATH" --branch "$INSTALL_VERSION"
|
git clone https://github.com/Icinga/icinga-php-thirdparty.git "$INSTALL_PATH" --branch "$INSTALL_VERSION"
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue