diff --git a/install b/install index 70494cd..98b8baf 100755 --- a/install +++ b/install @@ -9,7 +9,7 @@ # ------------------------------------------------------------------------- # wget -qO wo wops.cc && sudo -E bash wo # ------------------------------------------------------------------------- -# Version 3.16.3 - 2023-01-29 +# Version 3.16.4 - 2023-06-25 # ------------------------------------------------------------------------- # CONTENTS @@ -167,9 +167,9 @@ 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|buster|focal|jammy|bullseye") + check_wo_linux_distro=$(lsb_release -sc | grep -E "bionic|buster|focal|jammy|bullseye|bookworm") 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/12.x and Raspbian 10x./11.x \n You can bypass this warning by adding the flag --force to the install command" exit 100 fi @@ -460,6 +460,8 @@ wo_install() { python3 -m pip install git+https://salsa.debian.org/apt-team/python-apt.git@1.4.y#egg=python-apt elif [ "$wo_distro_codename" = "bullseye" ]; then python3 -m pip install git+https://salsa.debian.org/apt-team/python-apt.git@2.2.1#egg=python-apt + elif [ "$wo_distro_codename" = "bookworm" ]; then + python3 -m pip install git+https://salsa.debian.org/apt-team/python-apt.git@2.2.1#egg=python-apt else python3 -m pip install git+https://salsa.debian.org/apt-team/python-apt.git@1.8.4.y#egg=python-apt fi diff --git a/wo/core/variables.py b/wo/core/variables.py index 006df75..93a92e2 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.16.3" + wo_version = "3.16.4" # WordOps packages versions wo_wp_cli = "2.7.1" wo_adminer = "4.8.1" @@ -132,6 +132,8 @@ class WOVar(): wo_deb_repo = "Debian_10" elif wo_platform_codename == 'bullseye': wo_deb_repo = "Debian_11" + elif wo_platform_codename == 'bookworm': + wo_deb_repo = "Debian_12" elif wo_distro == 'raspbian': if wo_platform_codename == 'stretch': wo_deb_repo = "Raspbian_9.0"