mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-10 21:38:19 -05:00
* Fix wrong filesize being recorded to local DB. Reported by Andreas Radke.
This commit is contained in:
parent
5f15a80274
commit
38784a7eb5
@ -568,8 +568,9 @@ int _alpm_db_write(pmdb_t *db, pmpkg_t *info, pmdbinfrq_t inforeq)
|
||||
"%s\n\n", info->packager);
|
||||
}
|
||||
if(info->size) {
|
||||
/* only write installed size, csize is irrelevant once installed */
|
||||
fprintf(fp, "%%SIZE%%\n"
|
||||
"%lu\n\n", info->size);
|
||||
"%lu\n\n", info->isize);
|
||||
}
|
||||
if(info->reason) {
|
||||
fprintf(fp, "%%REASON%%\n"
|
||||
|
Loading…
Reference in New Issue
Block a user