Tweak messages for 'Could not find aport' (MR 2480)

Replace aports -> pmaports in these messages.

$ pmbootstrap build systemd
[17:37:02] NOTE: The package 'systemd' exists in extra-repos/systemd, but systemd is currently disabled
[17:37:02] ERROR: Could not find package 'systemd' in pmaports
This commit is contained in:
Oliver Smith 2024-11-07 18:04:11 +01:00
parent 67318823b5
commit 2a7864b080
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
3 changed files with 3 additions and 8 deletions

View file

@ -126,10 +126,7 @@ def get(
# Could not find the package
if not must_exist:
return None
raise RuntimeError(
"Package '" + pkgname + "': Could not find aport, and"
" could not find this package in any APKINDEX!"
)
raise RuntimeError(f"Package '{pkgname}': Could not find it in pmaports or any APKINDEX!")
@Cache("pkgname", "arch")