diff --git a/guac-install.sh b/guac-install.sh index 2a7be36..671f365 100644 --- a/guac-install.sh +++ b/guac-install.sh @@ -199,6 +199,9 @@ if [[ "${NAME}" == "Ubuntu" ]]; then fi if [ "$installMySQL" = true ]; then MYSQL="mysql-server mysql-client mysql-common mysql-utilities" + # Checking if (any kind of) mysql-client or compatible command installed. This is useful for existing mariadb server + elif type "mysql" > /dev/null; then + MYSQL="" else MYSQL="mysql-client" fi