From f9d4dbaf43423d9e094f0cb784c764a92f53486b Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Thu, 31 Oct 2013 13:58:12 +0100 Subject: [PATCH] do not rewrite the command line repo --- examples/solv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/solv.c b/examples/solv.c index a440b61..6bacc19 100644 --- a/examples/solv.c +++ b/examples/solv.c @@ -2320,6 +2320,8 @@ rewrite_repos(Pool *pool, Queue *addedfileprovides, Queue *addedfileprovides_ins if (repo->nrepodata < 2) continue; cinfo = repo->appdata; + if (repo != pool->installed && !cinfo) + continue; if (cinfo && cinfo->incomplete) continue; data = repo_id2repodata(repo, 1); -- 2.7.4