Skip to content

Commit

Permalink
Merge pull request #545 from theFeu/patch-3
Browse files Browse the repository at this point in the history
Replace apt-get with apt
  • Loading branch information
julianbrost authored Nov 24, 2022
2 parents de78af3 + f8be92e commit 4ed4db3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions doc/02-Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ wget https://packages.icinga.com/centos/ICINGA-release.repo -O /etc/yum.repos.d/
<!-- {% endif %} -->

```bash
apt-get update
apt-get -y install apt-transport-https wget gnupg
apt update
apt -y install apt-transport-https wget gnupg

wget -O - https://packages.icinga.com/icinga.key | apt-key add -

Expand All @@ -80,7 +80,7 @@ DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \
echo "deb-src https://packages.icinga.com/debian icinga-${DIST} main" >> \
/etc/apt/sources.list.d/${DIST}-icinga.list

apt-get update
apt update
```
<!-- {% endif %} -->

Expand Down Expand Up @@ -126,8 +126,8 @@ zypper ref
<!-- {% endif %} -->

```bash
apt-get update
apt-get -y install apt-transport-https wget gnupg
apt update
apt -y install apt-transport-https wget gnupg

wget -O - https://packages.icinga.com/icinga.key | apt-key add -

Expand All @@ -137,7 +137,7 @@ wget -O - https://packages.icinga.com/icinga.key | apt-key add -
echo "deb-src https://packages.icinga.com/ubuntu icinga-${DIST} main" >> \
/etc/apt/sources.list.d/${DIST}-icinga.list

apt-get update
apt update
```
<!-- {% endif %} -->

Expand Down Expand Up @@ -172,7 +172,7 @@ yum install icingadb
#### Debian / Ubuntu
<!-- {% endif %} -->
```bash
apt-get install icingadb
apt install icingadb
```
<!-- {% endif %} -->

Expand Down

0 comments on commit 4ed4db3

Please sign in to comment.