core: pkgrepo: support arbitrarily named pmaports directories
Compare changes
Files
2- Caleb Connolly authored
We shouldn't overwrite config.aports if the user specified a custom --aports directory. We only want to do this to update the default if they're using a custom workdir. Make the code here less aggressive, and correctly use the last entry in config.aports as "pmaports" instead of the first. Fixes: #2386 Signed-off-by:
Caleb Connolly <caleb@postmarketos.org>
+ 5
− 3
@@ -697,11 +697,13 @@ def frontend(args: PmbArgs) -> None: