mysql: fix task settings temporary mistake
This commit is contained in:
parent
6cb2c66924
commit
de843cb91f
|
@ -4,7 +4,7 @@
|
||||||
# Script to verify compliance of a Debian/OpenBSD server
|
# Script to verify compliance of a Debian/OpenBSD server
|
||||||
# powered by Evolix
|
# powered by Evolix
|
||||||
|
|
||||||
VERSION="21.09"
|
VERSION="21.10"
|
||||||
readonly VERSION
|
readonly VERSION
|
||||||
|
|
||||||
# base functions
|
# base functions
|
||||||
|
@ -235,17 +235,17 @@ check_syslogconf() {
|
||||||
check_debiansecurity() {
|
check_debiansecurity() {
|
||||||
if is_debian_bullseye; then
|
if is_debian_bullseye; then
|
||||||
# https://www.debian.org/releases/bullseye/amd64/release-notes/ch-information.html#security-archive
|
# https://www.debian.org/releases/bullseye/amd64/release-notes/ch-information.html#security-archive
|
||||||
pattern="^deb https://deb\.debian\.org/debian-security bullseye-security main"
|
pattern="^deb https://deb\.debian\.org/debian-security/? bullseye-security main"
|
||||||
elif is_debian_buster; then
|
elif is_debian_buster; then
|
||||||
pattern="^deb http://security\.debian\.org/debian-security buster/updates main"
|
pattern="^deb http://security\.debian\.org/debian-security/? buster/updates main"
|
||||||
elif is_debian_stretch; then
|
elif is_debian_stretch; then
|
||||||
pattern="^deb http://security\.debian\.org/debian-security stretch/updates main"
|
pattern="^deb http://security\.debian\.org/debian-security/? stretch/updates main"
|
||||||
else
|
else
|
||||||
pattern="^deb.*security"
|
pattern="^deb.*security"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source_file="/etc/apt/sources.list"
|
source_file="/etc/apt/sources.list"
|
||||||
grep -q "${pattern}" "${source_file}" || failed "IS_DEBIANSECURITY" "missing debian security repository"
|
grep -qE "${pattern}" "${source_file}" || failed "IS_DEBIANSECURITY" "missing debian security repository"
|
||||||
}
|
}
|
||||||
check_aptitudeonly() {
|
check_aptitudeonly() {
|
||||||
if is_debian_squeeze || is_debian_wheezy; then
|
if is_debian_squeeze || is_debian_wheezy; then
|
||||||
|
|
Loading…
Reference in a new issue