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)'
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user