Revert tools.func changes, keep only Guacamole JDK 11→17 bump

Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-21 22:55:16 +00:00
parent 7026aeb5c8
commit a4ab494fc5

View File

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