summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2008-05-28 23:25:40 +0200
committerDan McGee <dan@archlinux.org>2008-06-04 23:25:31 +0200
commit5ae02e6ae72b7648318e319eba9ab02f489d858a (patch)
treea240818b6c8782472f88d02edb14a6feb52dd8f7 /src
parentd030d12542dabfe0b6c648f48d2ff08b4feb4d41 (diff)
downloadpacman-5ae02e6ae72b7648318e319eba9ab02f489d858a.tar.gz
pacman-5ae02e6ae72b7648318e319eba9ab02f489d858a.tar.xz
Don't display filename on -Qip operation.
Some previous commits apparently broke the get_filename function for package loaded with pkg_load (on a -Qip operation) because this field was no longer filled. Now pkg_load fills it. But the -Qip operation needs to be run like this : -Qip <filename>, so the filename is already known. There is no need to display it again. Besides, on a normal -Qi operation, the filename is not displayed either because this information is not stored in the local database. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/package.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pacman/package.c b/src/pacman/package.c
index 21213c4a..1698806f 100644
--- a/src/pacman/package.c
+++ b/src/pacman/package.c
@@ -90,9 +90,6 @@ void dump_pkg_full(pmpkg_t *pkg, int level)
}
/* actual output */
- if(level == 0) {
- string_display(_("Filename :"), alpm_pkg_get_filename(pkg));
- }
string_display(_("Name :"), alpm_pkg_get_name(pkg));
string_display(_("Version :"), alpm_pkg_get_version(pkg));
string_display(_("URL :"), alpm_pkg_get_url(pkg));