maintainers/scripts/kde/generate-sources: update URL format

This commit is contained in:
K900 2024-09-12 16:35:02 +03:00
parent 02ea5fbeff
commit b9b940b8b9

View File

@ -75,7 +75,7 @@ def main(set: str, version: str, nixpkgs: pathlib.Path, sources_url: Optional[st
"gear": "releases", "gear": "releases",
"plasma": "plasma", "plasma": "plasma",
}[set] }[set]
sources_url = f"https://kde.org/info/sources/source-{set_url}-{version}.html" sources_url = f"https://kde.org/info/sources/source-{set_url}-{version}/"
sources = httpx.get(sources_url) sources = httpx.get(sources_url)
sources.raise_for_status() sources.raise_for_status()