Browse code

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

Vincent Untz authored on 2013/04/11 15:41:27
Showing 1 changed files
... ...
@@ -131,7 +131,9 @@ EOF
131 131
     if is_ubuntu || is_fedora; then
132 132
         install_package mysql-server
133 133
     elif is_suse; then
134
-        install_package mysql-community-server
134
+        if ! is_package_installed mariadb; then
135
+            install_package mysql-community-server
136
+        fi
135 137
     else
136 138
         exit_distro_not_supported "mysql installation"
137 139
     fi