File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,13 @@ Here's how to add it to your system:
31
31
32
32
``` bash
33
33
apt update
34
- apt -y install apt-transport-https wget gnupg
34
+ apt -y install apt-transport-https wget
35
35
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
37
41
38
42
DIST=$( awk -F" [)(]+" ' /VERSION=/ {print $2}' /etc/os-release) ; \
39
43
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
50
54
51
55
``` bash
52
56
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"
54
62
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
56
64
57
65
. /etc/os-release; if [ ! -z ${UBUNTU_CODENAME+x} ]; then DIST=" ${UBUNTU_CODENAME} " ; else DIST=" $( lsb_release -c| awk ' {print $2}' ) " ; fi ; \
58
66
echo " deb [signed-by=/usr/share/keyrings/icinga-archive-keyring.gpg] https://packages.icinga.com/ubuntu icinga-${DIST} main" > \
You can’t perform that action at this time.
0 commit comments