From bb5d9d4962a8d83b3776d20c9cff2e481f1ac8a9 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 25 Oct 2022 10:21:50 +0200 Subject: [PATCH 1/3] Prepare for Hotfix v3.15.4 --- install | 4 ++-- setup.py | 2 +- wo/core/variables.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/install b/install index c19a950..e604efe 100755 --- a/install +++ b/install @@ -4,12 +4,12 @@ # ------------------------------------------------------------------------- # Website: https://wordops.net # GitHub: https://github.com/WordOps/WordOps -# Copyright (c) 2019-2022 - WordOps +# Copyright (c) 2019-2023 - WordOps # This script is licensed under M.I.T # ------------------------------------------------------------------------- # wget -qO wo wops.cc && sudo -E bash wo # ------------------------------------------------------------------------- -# Version 3.15.3 - 2022-10-24 +# Version 3.15.4 - 2022-10-25 # ------------------------------------------------------------------------- # CONTENTS diff --git a/setup.py b/setup.py index c6195f9..6a84e55 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.15.3', + version='3.15.4', description='An essential toolset that eases server administration', long_description=LONG, long_description_content_type='text/markdown', diff --git a/wo/core/variables.py b/wo/core/variables.py index 596a173..ef08f40 100644 --- a/wo/core/variables.py +++ b/wo/core/variables.py @@ -15,7 +15,7 @@ class WOVar(): """Intialization of core variables""" # WordOps version - wo_version = "3.15.3" + wo_version = "3.15.4" # WordOps packages versions wo_wp_cli = "2.7.1" wo_adminer = "4.8.1" From 1b3f66a2b00eca1c5c73f4724cda5c964e3270c4 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 25 Oct 2022 10:35:22 +0200 Subject: [PATCH 2/3] Use distro to get linux distribution --- wo/core/variables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wo/core/variables.py b/wo/core/variables.py index ef08f40..4b426ec 100644 --- a/wo/core/variables.py +++ b/wo/core/variables.py @@ -31,7 +31,7 @@ class WOVar(): # WordOps core variables # linux distribution - if sys.version_info <= (3, 7): + if sys.version_info <= (3, 5): wo_distro = linux_distribution( full_distribution_name=False)[0].lower() wo_platform_version = linux_distribution( From 651b241b7f8f29fd681144954175f12aeef809bc Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 25 Oct 2022 10:56:19 +0200 Subject: [PATCH 3/3] Update CHANGELOG --- CHANGELOG.md | 7 +++++++ install | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7acba3e..790d504 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### v3.16.0 - [Unreleased] +### v3.15.4 - 2022-10-25 + +#### Fixed + +- Nginx prefetch-proxy configuration +- Linux distribution variable not set properly + ### v3.15.3 - 2022-10-24 #### Added diff --git a/install b/install index e604efe..7ffec74 100755 --- a/install +++ b/install @@ -167,7 +167,7 @@ wo_check_distro() { wo_lib_echo_fail "Feel free to open a pull-request if you want to add support for another Linux distributions" exit 100 else - check_wo_linux_distro=$(lsb_release -sc | grep -E "bionic|stretch|buster|focal|jammy|bullseye") + check_wo_linux_distro=$(lsb_release -sc | grep -E "bionic|buster|focal|jammy|bullseye") if [ -z "$check_wo_linux_distro" ]; then wo_lib_echo_fail "WordOps (wo) only supports Ubuntu 18.04/20.04/22.04 LTS, Debian 10.x/11.x and Raspbian 10x./11.x \n You can bypass this warning by adding the flag --force to the install command"