Add support for Debian 12

This commit is contained in:
Vitovt
2023-06-24 23:49:10 +03:00
parent 6b5b8754cb
commit 51e2c41059
2 changed files with 8 additions and 4 deletions

View File

@@ -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"