index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2010-10-27 01:25:45 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-22 11:11:29 -0600 |
commit | 36ea02cc482f14b787f1c7c4999fc347d77be7e5 (patch) | |
tree | bfd9794fb546c3969a9b85c8ab7a92cbdf89e733 | |
parent | c4332c8091dbba8bb9d9c56a3229843497b58670 (diff) |
-rw-r--r-- | lib/libalpm/sync.c | 2 |
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index dbd15065..a2dc4905 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -385,7 +385,7 @@ static int compute_download_size(pmpkg_t *newpkg) char *fpath; off_t size = 0; - if(newpkg->origin == PKG_FROM_FILE) { + if(newpkg->origin != PKG_FROM_SYNCDB) { newpkg->infolevel |= INFRQ_DSIZE; newpkg->download_size = 0; return(0); |