pactree: add -s option to walk sync DBs
commit3725998cbc418187a90e86212941d18f7cbfda78
authorDave Reisner <d@falconindy.com>
Tue, 21 Jun 2011 17:47:50 +0000 (21 13:47 -0400)
committerDan McGee <dan@archlinux.org>
Fri, 24 Jun 2011 19:18:07 +0000 (24 14:18 -0500)
tree0aeada1002c25faef53b405015384adc52e41e24
parent777bdc6c508a1a94dfa0854a34c7964ba0af02c9
pactree: add -s option to walk sync DBs

Add a whole lot of bloat to parse pacman.conf and only a few lines to
use the list of sync DBs instead of the local DB.

Dan: I fully plan on this being temporary and us finding a better way in
the future to parse pacman.conf from multiple binaries. Adding a
standalone config parser is probably not the right way of going about
things, but for now it is by far the easiest.

Signed-off-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
src/util/pactree.c