From 230d9d7ae3c3ebc64e922611567841b6fe692f3f Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Tue, 7 Mar 2006 22:37:01 +0000 Subject: db_write: fixed md5sum field --- lib/libalpm/be_files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/be_files.c') diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c index fd675c31..17ead481 100644 --- a/lib/libalpm/be_files.c +++ b/lib/libalpm/be_files.c @@ -446,7 +446,7 @@ int _alpm_db_write(pmdb_t *db, pmpkg_t *info, unsigned int inforeq) fprintf(fp, "%%CSIZE%%\n" "%ld\n\n", info->size); } - if(info->reason) { + if(info->md5sum) { fprintf(fp, "%%MD5SUM%%\n" "%s\n\n", info->md5sum); } -- cgit v1.2.3