1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monitorix_ynh.git synced 2024-09-03 19:46:06 +02:00

fix mysql detection

This commit is contained in:
Josué Tille 2024-06-08 00:39:16 +02:00
parent fd29cf85e7
commit 133c287c31
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -45,7 +45,7 @@ load_vars() {
# This function is called by the hook in install/upgrade/remove yunohost operation
# We we need to ensure that this function the quickest as possible
# Note that we don't use the yunohost command intentionally for optimization
if ynh_package_is_installed --package=mysql; then
if ynh_package_is_installed --package=mysql || ynh_package_is_installed --package=mariadb-server; then
readonly mysql_installed=true
else
readonly mysql_installed=false