Merge pull request #473 from WordOps/updating-configuration

Prepare for Hotfix v3.15.4
This commit is contained in:
VirtuBox
2022-10-25 11:51:54 +02:00
committed by GitHub
4 changed files with 13 additions and 6 deletions

View File

@@ -8,6 +8,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### v3.16.0 - [Unreleased] ### 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 ### v3.15.3 - 2022-10-24
#### Added #### Added

View File

@@ -4,12 +4,12 @@
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
# Website: https://wordops.net # Website: https://wordops.net
# GitHub: https://github.com/WordOps/WordOps # GitHub: https://github.com/WordOps/WordOps
# Copyright (c) 2019-2022 - WordOps # Copyright (c) 2019-2023 - WordOps
# This script is licensed under M.I.T # This script is licensed under M.I.T
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
# wget -qO wo wops.cc && sudo -E bash wo # wget -qO wo wops.cc && sudo -E bash wo
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
# Version 3.15.3 - 2022-10-24 # Version 3.15.4 - 2022-10-25
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
# CONTENTS # CONTENTS
@@ -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" wo_lib_echo_fail "Feel free to open a pull-request if you want to add support for another Linux distributions"
exit 100 exit 100
else 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 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 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" You can bypass this warning by adding the flag --force to the install command"

View File

@@ -27,7 +27,7 @@ if os.geteuid() == 0:
os.makedirs('/var/lib/wo/tmp/') os.makedirs('/var/lib/wo/tmp/')
setup(name='wordops', setup(name='wordops',
version='3.15.3', version='3.15.4',
description='An essential toolset that eases server administration', description='An essential toolset that eases server administration',
long_description=LONG, long_description=LONG,
long_description_content_type='text/markdown', long_description_content_type='text/markdown',

View File

@@ -15,7 +15,7 @@ class WOVar():
"""Intialization of core variables""" """Intialization of core variables"""
# WordOps version # WordOps version
wo_version = "3.15.3" wo_version = "3.15.4"
# WordOps packages versions # WordOps packages versions
wo_wp_cli = "2.7.1" wo_wp_cli = "2.7.1"
wo_adminer = "4.8.1" wo_adminer = "4.8.1"
@@ -31,7 +31,7 @@ class WOVar():
# WordOps core variables # WordOps core variables
# linux distribution # linux distribution
if sys.version_info <= (3, 7): if sys.version_info <= (3, 5):
wo_distro = linux_distribution( wo_distro = linux_distribution(
full_distribution_name=False)[0].lower() full_distribution_name=False)[0].lower()
wo_platform_version = linux_distribution( wo_platform_version = linux_distribution(