]> git.pld-linux.org Git - packages/poldek.git/blame - poldek-dont-be-greedy.patch
- rel 33
[packages/poldek.git] / poldek-dont-be-greedy.patch
CommitLineData
d9545c59
BZ
1diff --git a/install3/requirements.c b/install3/requirements.c
2index ea9df61..361c400 100644
3--- a/install3/requirements.c
4+++ b/install3/requirements.c
5@@ -386,7 +392,8 @@ static int process_orphan_req(int indent, struct i3ctx *ictx,
6 }
7
8 /* try upgrade orphan */
9- if (ts->getop(ts, POLDEK_OP_GREEDY)) {
10+ if (ts->getop(ts, POLDEK_OP_GREEDY) && !(tomark && pkg_caps_match_req(tomark, req,
11+ POLDEK_MA_PROMOTE_EPOCH || POLDEK_MA_PROMOTE_VERSION))) {
12 if (try_to_upgrade_orphan(indent, ictx, pkg, req, tomark))
13 goto l_end;
14 }
This page took 0.051285 seconds and 4 git commands to generate.