From aaa073ffd566bf2f0ea5fd8d4ccde7c73d07d292 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Wed, 4 Sep 2019 16:57:25 +0200 Subject: [PATCH] Fix mariadb post_pref --- wo/cli/plugins/stack_pref.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wo/cli/plugins/stack_pref.py b/wo/cli/plugins/stack_pref.py index 5576598..2227765 100644 --- a/wo/cli/plugins/stack_pref.py +++ b/wo/cli/plugins/stack_pref.py @@ -877,7 +877,7 @@ def post_pref(self, apt_packages, packages, upgrade=False): WOService.restart_service(self, 'php7.3-fpm') # create mysql config if it doesn't exist - if set(WOVariables.wo_mysql).issubset(set(apt_packages)): + if set(["mariadb-server"]).issubset(set(apt_packages)): if not os.path.isfile("/etc/mysql/my.cnf"): config = ("[mysqld]\nwait_timeout = 30\n" "interactive_timeout=60\nperformance_schema = 0"