From 623a0a58f6db70dd563c951bd601c18e6a1eb524 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Thu, 11 Apr 2013 08:41:27 +0200 Subject: [PATCH] Do not install mysql if mariadb is installed on openSUSE mariadb and mysql are conflicting on a package level, but are compatible for our needs. So if mariadb is already installed, do not try to install mysql. Change-Id: I3aa991c1c4691df3e3f4798505668da3ab908998 --- lib/databases/mysql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/databases/mysql b/lib/databases/mysql index 056aec46ba..086fe86287 100644 --- a/lib/databases/mysql +++ b/lib/databases/mysql @@ -131,7 +131,9 @@ EOF if is_ubuntu || is_fedora; then install_package mysql-server elif is_suse; then - install_package mysql-community-server + if ! is_package_installed mariadb; then + install_package mysql-community-server + fi else exit_distro_not_supported "mysql installation" fi