xbps_repo_key_import: ignore local repos.
This commit is contained in:
parent
f39f7ff2fa
commit
0247b49f86
@ -47,6 +47,11 @@ xbps_repo_key_import(struct xbps_repo *repo)
|
||||
int import, rv = 0;
|
||||
|
||||
assert(repo);
|
||||
/*
|
||||
* Ignore local repositories.
|
||||
*/
|
||||
if (!xbps_repository_is_remote(repo->uri))
|
||||
return 0;
|
||||
/*
|
||||
* If repository does not have required metadata plist, ignore it.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user