summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-23 08:18:57 +0100
committerDan McGee <dan@archlinux.org>2011-03-23 08:18:57 +0100
commit09085331277304e417649e8338795ca36a0d1f91 (patch)
treebce8d82ea1026fa00581f595b3fec1f5194bd11a /lib
parent36747e4a7f2bf26391573c113950f063daed19b9 (diff)
parenta31d091fb3bd250416d419b30e99c900b1608efc (diff)
downloadpacman-09085331277304e417649e8338795ca36a0d1f91.tar.gz
pacman-09085331277304e417649e8338795ca36a0d1f91.tar.xz
Merge branch 'gpg-build-tools'
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/be_sync.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c
index 4966ce6f..9ca52de3 100644
--- a/lib/libalpm/be_sync.c
+++ b/lib/libalpm/be_sync.c
@@ -418,6 +418,9 @@ static int sync_db_read(pmdb_t *db, struct archive *archive,
pkg->isize = atol(line);
} else if(strcmp(line, "%MD5SUM%") == 0) {
READ_AND_STORE(pkg->md5sum);
+ } else if(strcmp(line, "%SHA256SUM%") == 0) {
+ /* we don't do anything with this value right now */
+ READ_NEXT(line);
} else if(strcmp(line, "%REPLACES%") == 0) {
READ_AND_STORE_ALL(pkg->replaces);
} else if(strcmp(line, "%DEPENDS%") == 0) {