index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2012-04-22 23:35:20 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-29 20:25:58 -0500 |
commit | 6d2fb6fd815c7f427028b20faa16e531d5cc2aa4 (patch) | |
tree | b9c40b9a6f5a4c38fc7891bae77cefcca0973f33 | |
parent | 52a9a5240ac8dc9eef1fc68c1bf4290b76fe09ae (diff) |
-rw-r--r-- | src/pacman/package.c | 9 |
diff --git a/src/pacman/package.c b/src/pacman/package.c index 57bf6cef..fe04d407 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -175,7 +175,14 @@ void dump_pkg_full(alpm_pkg_t *pkg, int extra) alpm_pkg_has_scriptlet(pkg) ? _("Yes") : _("No"), cols); } - list_display(_("Validated By :"), validation, cols); + if(from == ALPM_PKG_FROM_SYNCDB && extra) { + string_display(_("MD5 Sum :"), alpm_pkg_get_md5sum(pkg), cols); + string_display(_("SHA256 Sum :"), alpm_pkg_get_sha256sum(pkg), cols); + string_display(_("Signatures :"), + alpm_pkg_get_base64_sig(pkg) ? _("Yes") : _("None"), cols); + } else { + list_display(_("Validated By :"), validation, cols); + } if(from == ALPM_PKG_FROM_FILE) { alpm_siglist_t siglist; |