index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2011-08-18 14:17:30 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-19 09:43:19 -0500 |
commit | 24824b54ce6ce3f62417be493d1e29eeb2cc8f53 (patch) | |
tree | 78741e41a4a54a786b4d4e9769160647613f6e9d /lib/libalpm/be_sync.c | |
parent | 2ca27ab3a14c106a7153dda337a61c79db7a6de0 (diff) |
-rw-r--r-- | lib/libalpm/be_sync.c | 1 |
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c index 2db7ce58..75f06645 100644 --- a/lib/libalpm/be_sync.c +++ b/lib/libalpm/be_sync.c @@ -197,6 +197,7 @@ int SYMEXPORT alpm_db_update(int force, alpm_db_t *db) snprintf(payload->fileurl, len, "%s/%s.db", server, db->treename); payload->handle = handle; payload->force = force; + payload->unlink_on_fail = 1; ret = _alpm_download(payload, syncpath, NULL); |