index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Chantry Xavier <shiningxc@gmail.com> | 2007-12-08 00:17:34 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-23 20:12:50 -0600 |
commit | bd43a7f155cbd54d58fb45285e2eef1f51c88b00 (patch) | |
tree | e93d1550d91a2d06f679340406095a2594ccaf29 /src/util | |
parent | 22c900e7d57bfa7c9ed482f888ef200c0289ceec (diff) |
-rw-r--r-- | src/util/testdb.c | 8 |
diff --git a/src/util/testdb.c b/src/util/testdb.c index 122a3fb5..f354ecab 100644 --- a/src/util/testdb.c +++ b/src/util/testdb.c @@ -147,6 +147,14 @@ int main(int argc, char **argv) free(depstring); } + /* check conflicts */ + data = alpm_checkdbconflicts(db); + for(i = data; i; i = i->next) { + pmconflict_t *conflict = alpm_list_getdata(i); + printf("%s conflicts with %s\n", alpm_conflict_get_package1(conflict), + alpm_conflict_get_package2(conflict)); + } + cleanup(retval); } |