README.md: Update default installation path

This commit is contained in:
Johannes Meyer 2021-05-28 10:28:15 +02:00
parent 26d06a2aaf
commit 46c1aa07cc

View File

@ -19,9 +19,9 @@ This project bundles all Icinga PHP libraries into one piece and can be integrat
## Installation ## Installation
Please download the latest release and install it in one of your configured library paths. The default library Please download the latest release and install it in one of your configured library paths. The default library
path for Icinga Web 2 installations is: `/usr/share/php-Icinga` path for Icinga Web 2 installations is: `/usr/share/icinga-php`
Download or clone this repository there (e.g. `/usr/share/php-Icinga/ipl`) and you're done. Download or clone this repository there (e.g. `/usr/share/icinga-php/ipl`) 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/1.0.0` or a tag like `v1.0.0` is fine.
@ -31,7 +31,7 @@ Download or clone this repository there (e.g. `/usr/share/php-Icinga/ipl`) and y
**Sample Tarball installation** **Sample Tarball installation**
```sh ```sh
INSTALL_PATH="/usr/share/php-Icinga/ipl" INSTALL_PATH="/usr/share/icinga-php/ipl"
INSTALL_VERSION="v1.0.0" INSTALL_VERSION="v1.0.0"
mkdir "$INSTALL_PATH" mkdir "$INSTALL_PATH"
&& wget -q "https://github.com/Icinga/ipl/archive/$INSTALL_VERSION.tar.gz" -O - \ && wget -q "https://github.com/Icinga/ipl/archive/$INSTALL_VERSION.tar.gz" -O - \
@ -41,7 +41,7 @@ mkdir "$INSTALL_PATH"
**Sample GIT installation** **Sample GIT installation**
``` ```
INSTALL_PATH="/usr/share/php-Icinga/ipl" INSTALL_PATH="/usr/share/icinga-php/ipl"
INSTALL_VERSION="stable/1.0.0" INSTALL_VERSION="stable/1.0.0"
git clone https://github.com/Icinga/ipl.git "$INSTALL_PATH" --branch "$INSTALL_VERSION" git clone https://github.com/Icinga/ipl.git "$INSTALL_PATH" --branch "$INSTALL_VERSION"
``` ```