From 58b0a55351f384ab67eec5bdfcacc9a2d4e0c401 Mon Sep 17 00:00:00 2001 From: schwar3kat <61094841+schwar3kat@users.noreply.github.com> Date: Mon, 5 Aug 2024 11:30:13 +1200 Subject: [PATCH] Add Linux Mint Virginia and Wilma to supported hosts Add virginia and wilma in host-release.sh Add wilma in prepare-host.sh --- lib/functions/host/host-release.sh | 2 +- lib/functions/host/prepare-host.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/functions/host/host-release.sh b/lib/functions/host/host-release.sh index 2c72041927..32821b14e2 100644 --- a/lib/functions/host/host-release.sh +++ b/lib/functions/host/host-release.sh @@ -33,7 +33,7 @@ function obtain_and_check_host_release_and_arch() { # # NO_HOST_RELEASE_CHECK overrides the check for a supported host system # Disable host OS check at your own risk. Any issues reported with unsupported releases will be closed without discussion - if [[ -z $HOSTRELEASE || "bookworm trixie sid jammy kinetic lunar vanessa vera victoria mantic noble" != *"$HOSTRELEASE"* ]]; then + if [[ -z $HOSTRELEASE || "bookworm trixie sid jammy kinetic lunar vanessa vera victoria virginia wilma mantic noble" != *"$HOSTRELEASE"* ]]; then if [[ $NO_HOST_RELEASE_CHECK == yes ]]; then display_alert "You are running on an unsupported system" "${HOSTRELEASE:-(unknown)}" "wrn" display_alert "Do not report any errors, warnings or other issues encountered beyond this point" "" "wrn" diff --git a/lib/functions/host/prepare-host.sh b/lib/functions/host/prepare-host.sh index b06dcfb58d..0e7a1a2d40 100644 --- a/lib/functions/host/prepare-host.sh +++ b/lib/functions/host/prepare-host.sh @@ -297,7 +297,7 @@ function adaptative_prepare_host_dependencies() { host_dependencies+=("libgnutls28-dev") # Noble and later releases do not carry "python3-distutils" https://docs.python.org/3.10/whatsnew/3.10.html#distutils-deprecated - if [[ "noble" == *"${host_release}"* ]]; then + if [[ "$host_release" =~ ^(noble|wilma)$ ]]; then display_alert "python3-distutils not available on host release '${host_release}'" "distutils was deprecated with Python 3.12" "debug" else host_dependencies+=("python3-distutils")