scripts(dump-repology-data): convert repology names to termux package names.

Fixes #18480
This commit is contained in:
Twaik Yont 2023-11-13 16:14:55 +02:00
parent 42a407e603
commit a63b862453
1 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,10 @@ def get_outdated_packages():
break
for package_name, package_data in repology_data.items():
for repo_data in package_data:
if repo_data["repo"] == "termux":
package_name = repo_data["visiblename"]
break
if package_name in termux_outdated_packages:
# Skip if package is already in the dict.
continue