]> git.pld-linux.org Git - packages/poldek.git/blame - poldek-cap_match_req-fix.patch
- rel 7; make '.' dir become getcwd() one to prevent system trash on '--install-dist...
[packages/poldek.git] / poldek-cap_match_req-fix.patch
CommitLineData
3da93cc6 1Index: pkg.c
2===================================================================
3RCS file: /cvsroot/installer/poldek/pkg.c,v
4retrieving revision 1.51.4.2
5diff -u -r1.51.4.2 pkg.c
6--- pkg.c 30 Dec 2003 18:19:52 -0000 1.51.4.2
7+++ pkg.c 19 Feb 2004 00:18:18 -0000
8@@ -717,6 +717,9 @@
9 if ((strcmp(capreq_name(cap), capreq_name(req))) != 0)
10 return 0;
11
12+ if (!capreq_versioned(req))
13+ return 1;
14+
15 if (capreq_has_epoch(cap)) {
16 if (!capreq_has_epoch(req) && poldek_conf_promote_epoch) {
17 if (verbose > 1)
This page took 0.05952 seconds and 4 git commands to generate.