aboutsummaryrefslogtreecommitdiff
path: root/.github/prepare_debian.sh
diff options
context:
space:
mode:
authorGravatar Lorenz <12514511+RincewindsHat@users.noreply.github.com> 2022-11-06 23:12:41 +0100
committerGravatar GitHub <noreply@github.com> 2022-11-06 23:12:41 +0100
commitf7f7309b99f9f0eb4176a4c7cb8e5991d23b5b74 (patch)
tree2b10d3ad04854b2feb513215861b1c5feb2b67d6 /.github/prepare_debian.sh
parentedc84e5d669089fa3f047dc52740679e7cb58fc1 (diff)
downloadmonitoring-plugins-f7f7309b99f9f0eb4176a4c7cb8e5991d23b5b74.tar.gz
Update GitHub runner (#1810)
* Update action/checkout to v3 * Format debian prepare script
Diffstat (limited to '.github/prepare_debian.sh')
-rwxr-xr-x.github/prepare_debian.sh61
1 files changed, 45 insertions, 16 deletions
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh
index 4021c104..d8a76da6 100755
--- a/.github/prepare_debian.sh
+++ b/.github/prepare_debian.sh
@@ -11,21 +11,51 @@ if [ $(lsb_release -is) = "Debian" ]; then
apt-add-repository non-free
apt-get update
fi
-apt-get -y install perl autotools-dev libdbi-dev libldap2-dev libpq-dev libradcli-dev libnet-snmp-perl procps
-apt-get -y install libdbi0-dev libdbd-sqlite3 libssl-dev dnsutils snmp-mibs-downloader libsnmp-perl snmpd
-apt-get -y install fping snmp netcat-openbsd smbclient vsftpd apache2 ssl-cert postfix libhttp-daemon-ssl-perl
-apt-get -y install libdbd-sybase-perl libnet-dns-perl
-apt-get -y install slapd ldap-utils
-apt-get -y install gcc make autoconf automake gettext
-apt-get -y install faketime
-apt-get -y install libmonitoring-plugin-perl
-apt-get -y install libcurl4-openssl-dev
-apt-get -y install liburiparser-dev
-apt-get -y install squid
-apt-get -y install openssh-server
-apt-get -y install mariadb-server mariadb-client libmariadb-dev
-apt-get -y install cron iputils-ping
-apt-get -y install iproute2
+apt-get -y install perl \
+ autotools-dev \
+ libdbi-dev \
+ libldap2-dev \
+ libpq-dev \
+ libradcli-dev \
+ libnet-snmp-perl \
+ procps \
+ libdbi0-dev \
+ libdbd-sqlite3 \
+ libssl-dev \
+ dnsutils \
+ snmp-mibs-downloader \
+ libsnmp-perl \
+ snmpd \
+ fping \
+ snmp \
+ netcat-openbsd \
+ smbclient \
+ vsftpd \
+ apache2 \
+ ssl-cert \
+ postfix \
+ libhttp-daemon-ssl-perl \
+ libdbd-sybase-perl \
+ libnet-dns-perl \
+ slapd \
+ ldap-utils \
+ gcc \
+ make \
+ autoconf \
+ automake \
+ gettext \
+ faketime \
+ libmonitoring-plugin-perl \
+ libcurl4-openssl-dev \
+ liburiparser-dev \
+ squid \
+ openssh-server \
+ mariadb-server \
+ mariadb-client \
+ libmariadb-dev \
+ cron \
+ iputils-ping \
+ iproute2
# remove ipv6 interface from hosts
if [ $(ip addr show | grep "inet6 ::1" | wc -l) -eq "0" ]; then
@@ -37,7 +67,6 @@ ip addr show
cat /etc/hosts
-
# apache
a2enmod ssl
a2ensite default-ssl