summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pacman/package.c9
1 files changed, 8 insertions, 1 deletions
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;