diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2006-03-07 23:37:01 +0100 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-03-07 23:37:01 +0100 |
commit | 230d9d7ae3c3ebc64e922611567841b6fe692f3f (patch) | |
tree | 92a9d76e2f1ef0148c19104a987023093c516233 /lib/libalpm/be_files.c | |
parent | 5542a50127fce35e64a9771fca83cbfb4bea46a3 (diff) | |
download | pacman-230d9d7ae3c3ebc64e922611567841b6fe692f3f.tar.gz pacman-230d9d7ae3c3ebc64e922611567841b6fe692f3f.tar.xz |
db_write: fixed md5sum field
Diffstat (limited to 'lib/libalpm/be_files.c')
-rw-r--r-- | lib/libalpm/be_files.c | 2 |
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); } |