From 6a5e7b88fd7615d86a3bd931fcbd7970e5d9651f Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 25 Mar 2026 12:41:33 +0100 Subject: [PATCH] fix(tools.func): flat repo detection for suites ending with / - setup_deb822_repo: skip Components for any suite ending with / - Previously only skipped for exactly './' but 'stable/' is also flat - Fixes Jitsi repo producing 'Malformed entry (absolute Suite Component)' --- misc/tools.func | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index 69b666a9..b3918f97 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -1843,8 +1843,8 @@ setup_deb822_repo() { echo "Types: deb" echo "URIs: $repo_url" echo "Suites: $suite" - # Flat repositories (suite="./" or absolute path) must not have Components - if [[ "$suite" != "./" && -n "$component" ]]; then + # Flat repositories (suite ending with "/" or "./") must not have Components + if [[ "$suite" != *"/" && -n "$component" ]]; then echo "Components: $component" fi [[ -n "$architectures" ]] && echo "Architectures: $architectures"