From 39ce9b3afc6a544c2a5137bb58012d32723096e3 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 23 Mar 2011 03:05:45 -0500 Subject: Actually read PGPSIG field in sync DB code Signed-off-by: Dan McGee --- lib/libalpm/be_sync.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libalpm') diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c index 9ca52de3..5eec8a73 100644 --- a/lib/libalpm/be_sync.c +++ b/lib/libalpm/be_sync.c @@ -421,6 +421,8 @@ static int sync_db_read(pmdb_t *db, struct archive *archive, } else if(strcmp(line, "%SHA256SUM%") == 0) { /* we don't do anything with this value right now */ READ_NEXT(line); + } else if(strcmp(line, "%PGPSIG%") == 0) { + READ_AND_STORE(pkg->pgpsig.encdata); } else if(strcmp(line, "%REPLACES%") == 0) { READ_AND_STORE_ALL(pkg->replaces); } else if(strcmp(line, "%DEPENDS%") == 0) { -- cgit v1.2.3-70-g09d2