xbps-query: adapt to the new libxbps API.

This commit is contained in:
Juan RP
2013-10-07 10:22:45 +02:00
parent 27723e94ff
commit 1f270e3a1a
2 changed files with 5 additions and 7 deletions

View File

@@ -159,7 +159,7 @@ repo_list_uri_cb(struct xbps_repo *repo, void *arg _unused, bool *done _unused)
printf("%5zd %s",
repo->idx ? (ssize_t)xbps_dictionary_count(repo->idx) : -1,
repo->uri);
if (xbps_repository_is_remote(repo->uri)) {
if (repo->is_remote) {
printf(" (RSA %s, %s)",
repo->is_signed ? "signed" : "unsigned",
repo->is_verified ? "verified" : "unverified");