diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-08-13 14:40:41 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-15 07:06:23 -0500 |
commit | 20b5cc96be546db4e86b2216de3fccaeb7b2a4b2 (patch) | |
tree | c204a2a7428a042d219a6e2f0e5beca9313952e5 /src | |
parent | ea79de21d82369e799fcdc6e71b45d9580a75099 (diff) | |
download | pacman-20b5cc96be546db4e86b2216de3fccaeb7b2a4b2.tar.xz |
pacman/package: show presence of signature in in -Si
adds a new API method: alpm_pkg_get_base64_sig
[Dan: don't use a new header string in frontend]
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/package.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/package.c b/src/pacman/package.c index 45afded2..27b691e2 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -135,6 +135,7 @@ void dump_pkg_full(alpm_pkg_t *pkg, enum pkg_from from, int extra) if(from == PKG_FROM_SYNCDB) { string_display(_("MD5 Sum :"), alpm_pkg_get_md5sum(pkg)); + string_display(_("Signatures :"), alpm_pkg_get_base64_sig(pkg) ? _("Yes") : _("No")); } if(from == PKG_FROM_FILE) { alpm_sigresult_t result; |