ref: refs/heads/master
commit eb8cba5e16f9287fdffa055f53edbc005acd414a
Author: Michael Schroeder
Date: Wed Jun 24 16:22:25 2009 +0200
- oops, forgot to set the repo priorities
---
examples/solv.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/examples/solv.c b/examples/solv.c
index 3b3c19b..35a8637 100644
--- a/examples/solv.c
+++ b/examples/solv.c
@@ -306,6 +306,7 @@ read_repos(Pool *pool, struct repoinfo *repoinfos, int nrepoinfos)
repo = repo_create(pool, cinfo->alias);
cinfo->repo = repo;
repo->appdata = cinfo;
+ repo->priority = 99 - cinfo->priority;
repo_add_repomdxml(repo, fp, 0);
fclose(fp);
primaryfile = 0;
@@ -329,6 +330,7 @@ read_repos(Pool *pool, struct repoinfo *repoinfos, int nrepoinfos)
repo = repo_create(pool, cinfo->alias);
cinfo->repo = repo;
repo->appdata = cinfo;
+ repo->priority = 99 - cinfo->priority;
descrdir = 0;
defvendor = 0;
if ((fp = curlfopen(cinfo->baseurl, "content", 0)) != 0)
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org