From b225b6e33918b389c680edf081764058e0efa8ff Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 10 Nov 2020 16:28:04 +0100 Subject: [PATCH] Bump version for testing --- install | 2 +- setup.py | 2 +- wo/cli/plugins/stack_pref.py | 2 +- wo/core/variables.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/install b/install index 935041d..b8b4100 100755 --- a/install +++ b/install @@ -9,7 +9,7 @@ # ------------------------------------------------------------------------- # wget -qO wo wops.cc && sudo -E bash wo # ------------------------------------------------------------------------- -# Version 3.13.2 - 2020-10-27 +# Version 3.13.3 - 2020-10-27 # ------------------------------------------------------------------------- # CONTENTS diff --git a/setup.py b/setup.py index a80bb10..340893f 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ if os.geteuid() == 0: os.makedirs('/var/lib/wo/tmp/') setup(name='wordops', - version='3.13.2', + version='3.13.3', description='An essential toolset that eases server administration', long_description=LONG, long_description_content_type='text/markdown', diff --git a/wo/cli/plugins/stack_pref.py b/wo/cli/plugins/stack_pref.py index ac3079e..7ad72ed 100644 --- a/wo/cli/plugins/stack_pref.py +++ b/wo/cli/plugins/stack_pref.py @@ -925,7 +925,7 @@ def post_pref(self, apt_packages, packages, upgrade=False): # create mysql config if it doesn't exist if "mariadb-server" in apt_packages: WOGit.add(self, ["/etc/mysql"], msg="Adding MySQL into Git") - if not os.path.isfile("/etc/mysql/my.cnf"): + if not os.path.exists("/etc/mysql/my.cnf"): config = ("[mysqld]\nwait_timeout = 30\n" "interactive_timeout=60\nperformance_schema = 0" "\nquery_cache_type = 1") diff --git a/wo/core/variables.py b/wo/core/variables.py index b99a83c..502fc5e 100644 --- a/wo/core/variables.py +++ b/wo/core/variables.py @@ -14,7 +14,7 @@ class WOVar(): """Intialization of core variables""" # WordOps version - wo_version = "3.13.2" + wo_version = "3.13.3" # WordOps packages versions wo_wp_cli = "2.4.0" wo_adminer = "4.7.5"