summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorSven Nierlein <sven@consol.de>2024-07-23 19:09:21 (GMT)
committerGitHub <noreply@github.com>2024-07-23 19:09:21 (GMT)
commit562deb749af3943dfcb6582ffcf48afb0b27e074 (patch)
treed0406ecb6d12955fec2a354ed27a23aab490692d /.github
parentf29785f5035e489576d2ba74be774273b73dd149 (diff)
parentea104fa400acfa017e9d7690dea19edef787421f (diff)
downloadmonitoring-plugins-562deb749af3943dfcb6582ffcf48afb0b27e074.tar.gz
Merge branch 'master' into check_curl_featuresrefs/pull/2006/head
Diffstat (limited to '.github')
-rwxr-xr-x.github/prepare_debian.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh
index dcf778b..3f4674a 100755
--- a/.github/prepare_debian.sh
+++ b/.github/prepare_debian.sh
@@ -64,13 +64,9 @@ apt-get -y install perl \
64 iproute2 64 iproute2
65 65
66# remove ipv6 interface from hosts 66# remove ipv6 interface from hosts
67if [ $(ip addr show | grep "inet6 ::1" | wc -l) -eq "0" ]; then 67sed '/^::1/d' /etc/hosts > /tmp/hosts
68 sed '/^::1/d' /etc/hosts > /tmp/hosts 68cp -f /tmp/hosts /etc/hosts
69 cp -f /tmp/hosts /etc/hosts
70fi
71
72ip addr show 69ip addr show
73
74cat /etc/hosts 70cat /etc/hosts
75 71
76# apache 72# apache