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