summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-03-07 23:37:01 +0100
committerAurelien Foret <aurelien@archlinux.org>2006-03-07 23:37:01 +0100
commit230d9d7ae3c3ebc64e922611567841b6fe692f3f (patch)
tree92a9d76e2f1ef0148c19104a987023093c516233
parent5542a50127fce35e64a9771fca83cbfb4bea46a3 (diff)
downloadpacman-230d9d7ae3c3ebc64e922611567841b6fe692f3f.tar.gz
pacman-230d9d7ae3c3ebc64e922611567841b6fe692f3f.tar.xz
db_write: fixed md5sum field
-rw-r--r--lib/libalpm/be_files.c2
1 files changed, 1 insertions, 1 deletions
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);
}