mirror of
https://git.koehlerweb.org/frodovdr/guac-install
synced 2024-11-14 22:47:14 +01:00
Added fallback for mysql-client when using MariaDB (#110)
* Fized mysql-client installation error with existing MariaDB server * Fized permissions * Changed command availability detection
This commit is contained in:
parent
622c92ab2c
commit
3b295a33ba
@ -199,6 +199,9 @@ if [[ "${NAME}" == "Ubuntu" ]]; then
|
|||||||
fi
|
fi
|
||||||
if [ "$installMySQL" = true ]; then
|
if [ "$installMySQL" = true ]; then
|
||||||
MYSQL="mysql-server mysql-client mysql-common mysql-utilities"
|
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
|
else
|
||||||
MYSQL="mysql-client"
|
MYSQL="mysql-client"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user