index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Xavier Chantry <chantry.xavier@gmail.com> | 2010-10-14 21:50:19 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-12 19:45:04 -0600 |
commit | 5c8083baa4a831b16adcc3c1c35d7438f5bdcc3e (patch) | |
tree | 73eb80efb7baef9ef222399d3e8413351a0afa9f /lib/libalpm | |
parent | eedf4f4e630f98350090ef2824b0981ffb4b7a4a (diff) |
-rw-r--r-- | lib/libalpm/be_files.c | 7 |
diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c index 877bc505..c0b8b439 100644 --- a/lib/libalpm/be_files.c +++ b/lib/libalpm/be_files.c @@ -810,10 +810,11 @@ int _alpm_db_write(pmdb_t *db, pmpkg_t *info, pmdbinfrq_t inforeq) } fprintf(fp, "\n"); } - if(info->force) { - fprintf(fp, "%%FORCE%%\n\n"); - } if(local) { + if(info->force) { + fprintf(fp, "%%EPOCH%%\n" + "1\n\n"); + } if(info->url) { fprintf(fp, "%%URL%%\n" "%s\n\n", info->url); |