summaryrefslogtreecommitdiffstats
path: root/expac.c
diff options
context:
space:
mode:
Diffstat (limited to 'expac.c')
-rw-r--r--expac.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/expac.c b/expac.c
index e180847..1297c49 100644
--- a/expac.c
+++ b/expac.c
@@ -39,7 +39,7 @@
#define DEFAULT_TIMEFMT "%c"
#define FORMAT_TOKENS "BCDEGLNOPRSabdmnprsuvw%"
#define FORMAT_TOKENS_LOCAL "ilFw"
-#define FORMAT_TOKENS_SYNC "fk"
+#define FORMAT_TOKENS_SYNC "fgk"
#define ESCAPE_TOKENS "\"\\abefnrtv"
#ifndef PATH_MAX
@@ -421,6 +421,9 @@ static int print_pkg(alpm_pkg_t *pkg, const char *format) {
case '!': /* result number */
out += printf("%d", pkgcounter++);
break;
+ case 'g': /* base64 gpg sig */
+ out += printf(fmt, alpm_pkg_get_base64_sig(pkg));
+ break;
/* times */
case 'b': /* build date */