Skip to content

Commit 73d3e5b

Browse files
authored
Merge pull request #10136 from Icinga/icinga-archive-keyring
.deb: let user install icinga-archive-keyring package
2 parents 894d6aa + 8160742 commit 73d3e5b

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

doc/02-installation.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,13 @@ Here's how to add it to your system:
3131

3232
```bash
3333
apt update
34-
apt -y install apt-transport-https wget gnupg
34+
apt -y install apt-transport-https wget
3535

36-
wget -O - https://packages.icinga.com/icinga.key | gpg --dearmor -o /usr/share/keyrings/icinga-archive-keyring.gpg
36+
wget -O icinga-archive-keyring.deb "https://packages.icinga.com/icinga-archive-keyring_latest+debian$(
37+
. /etc/os-release; echo "$VERSION_ID"
38+
).deb"
39+
40+
apt install ./icinga-archive-keyring.deb
3741

3842
DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \
3943
echo "deb [signed-by=/usr/share/keyrings/icinga-archive-keyring.gpg] https://packages.icinga.com/debian icinga-${DIST} main" > \
@@ -50,9 +54,13 @@ apt update
5054

5155
```bash
5256
apt update
53-
apt -y install apt-transport-https wget gnupg
57+
apt -y install apt-transport-https wget
58+
59+
wget -O icinga-archive-keyring.deb "https://packages.icinga.com/icinga-archive-keyring_latest+ubuntu$(
60+
. /etc/os-release; echo "$VERSION_ID"
61+
).deb"
5462

55-
wget -O - https://packages.icinga.com/icinga.key | gpg --dearmor -o /usr/share/keyrings/icinga-archive-keyring.gpg
63+
apt install ./icinga-archive-keyring.deb
5664

5765
. /etc/os-release; if [ ! -z ${UBUNTU_CODENAME+x} ]; then DIST="${UBUNTU_CODENAME}"; else DIST="$(lsb_release -c| awk '{print $2}')"; fi; \
5866
echo "deb [signed-by=/usr/share/keyrings/icinga-archive-keyring.gpg] https://packages.icinga.com/ubuntu icinga-${DIST} main" > \

0 commit comments

Comments
 (0)