From 2fdf0d50b1f2ac6c8a7421fe7b089ae82143d434 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Sun, 27 Aug 2023 09:43:49 +0200 Subject: [PATCH] new: [mariadb] support debian 11 and debian 12 installation --- mariadb/hooks/install.d/60-backup.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mariadb/hooks/install.d/60-backup.sh b/mariadb/hooks/install.d/60-backup.sh index c9d91e1..0909733 100644 --- a/mariadb/hooks/install.d/60-backup.sh +++ b/mariadb/hooks/install.d/60-backup.sh @@ -24,7 +24,7 @@ type -p mysql >/dev/null || { case $(lsb_release -is) in Debian) case $(lsb_release -rs) in - 10) + 10|11|12) apt-get install -y default-mysql-client /dev/null || { Ubuntu) apt-get install -y mysql-client &2 + exit 1 + } } if ! [ -e "/root/.my.cnf" ]; then