From a4ab494fc588255ef412d93dafc8dceeb306a0c0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 21 Feb 2026 22:55:16 +0000 Subject: [PATCH] =?UTF-8?q?Revert=20tools.func=20changes,=20keep=20only=20?= =?UTF-8?q?Guacamole=20JDK=2011=E2=86=9217=20bump?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com> --- misc/tools.func | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index 2e24af7f9..d12cef3be 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -962,9 +962,13 @@ get_fallback_suite() { local distro_codename="$2" local repo_base_url="$3" - # Comprehensive fallback mappings (applied first for known distros to avoid - # repos that exist via HTTP but ship packages with broken dependencies on - # newer releases, e.g. Adoptium trixie → p11-kit missing on Debian 13) + # Check if current codename works + if verify_repo_available "$repo_base_url" "$distro_codename"; then + echo "$distro_codename" + return 0 + fi + + # Comprehensive fallback mappings case "$distro_id" in debian) case "$distro_codename" in