xbps-{install,query}: added -i to ignore repos defined in xbps.d.

See the NEWS file for more information.
This commit is contained in:
Juan RP
2014-11-21 10:56:41 +01:00
parent a72a52da1d
commit 89d11e871f
10 changed files with 94 additions and 5 deletions

View File

@@ -134,6 +134,9 @@ out:
static bool
store_repo(struct xbps_handle *xhp, const char *repo)
{
if (xhp->flags & XBPS_FLAG_IGNORE_CONF_REPOS)
return false;
if (xhp->repositories == NULL)
xhp->repositories = xbps_array_create();