diff options
author | James Bowes <jbowes@redhat.com> | 2008-06-26 18:15:59 -0400 |
---|---|---|
committer | James Bowes <jbowes@redhat.com> | 2008-06-26 18:15:59 -0400 |
commit | 145002da7ffa173c14c6560e6ee26e6487554008 (patch) | |
tree | a65181ba16bdf4aaa4b381b971560235e88415c1 /src | |
parent | c57370decf4e204cf4e3323e669cc676a2760707 (diff) |
get rpm -qpi working fully
Diffstat (limited to 'src')
-rw-r--r-- | src/rpm.c | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -473,20 +473,20 @@ command_query(int argc, const char *argv[]) option_all = 1; } else { set = razor_root_open_read_only(option_root); + + /* FIXME: We need to figure out how to do this right. */ + details = "install/var/lib/razor/system-details.repo"; + if (option_info) + if (razor_set_open_details(set, details)) + return; + files = "install/var/lib/razor/system-files.repo"; + if (option_list) + if (razor_set_open_files(set, files)) + return; } pi = get_query_packages(set, argc, argv); - /* FIXME: We need to figure out how to do this right. */ - details = "install/var/lib/razor/system-details.repo"; - if (option_info) - if (razor_set_open_details(set, details)) - return; - files = "install/var/lib/razor/system-files.repo"; - if (option_list) - if (razor_set_open_files(set, files)) - return; - while (razor_package_iterator_next(pi, &package, &name, &version, &arch)) { if (option_conflicts) |