mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
Merge branch 'master' into master
This commit is contained in:
commit
bd6187be8c
2 changed files with 13 additions and 7 deletions
19
.github/prepare_debian.sh
vendored
19
.github/prepare_debian.sh
vendored
|
|
@ -5,13 +5,18 @@ set -e
|
|||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
sed "s/main/non-free contrib/g" /etc/apt/sources.list.d/debian.sources > /etc/apt/sources.list.d/debian-nonfree.sources
|
||||
apt-get update
|
||||
apt-get -y install software-properties-common
|
||||
if [ $(lsb_release -is) = "Debian" ]; then
|
||||
apt-add-repository non-free
|
||||
apt-get update
|
||||
source /etc/os-release
|
||||
|
||||
if [ ${ID} = "debian" ]; then
|
||||
if [ -f /etc/apt/sources.list.d/debian.sources ]; then
|
||||
sed "s/main/non-free contrib/g" /etc/apt/sources.list.d/debian.sources > /etc/apt/sources.list.d/debian-nonfree.sources
|
||||
else
|
||||
apt-get update
|
||||
apt-get -y install software-properties-common
|
||||
apt-add-repository non-free
|
||||
fi
|
||||
fi
|
||||
apt-get update
|
||||
apt-get -y install perl \
|
||||
autotools-dev \
|
||||
libdbi-dev \
|
||||
|
|
@ -83,7 +88,7 @@ cp tools/squid.conf /etc/squid/squid.conf
|
|||
service squid start
|
||||
|
||||
# mariadb
|
||||
service mariadb start
|
||||
service mariadb start || service mysql start
|
||||
mysql -e "create database IF NOT EXISTS test;" -uroot
|
||||
|
||||
# ldap
|
||||
|
|
|
|||
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
|
|
@ -5,6 +5,7 @@ on:
|
|||
branches:
|
||||
- '*'
|
||||
pull_request:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
codespell:
|
||||
|
|
|
|||
Loading…
Reference in a new issue