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
This commit is contained in:
Vincent Untz 2013-04-11 08:41:27 +02:00
parent a1c183b4ef
commit 623a0a58f6

View File

@ -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