diff options
author | Allan McRae <allan@archlinux.org> | 2015-03-15 07:32:56 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-03-26 05:43:37 +0100 |
commit | 81d233b79345d05d5bf17a4b2844085e14f9ee36 (patch) | |
tree | 8267ba1f224a31d6ee3ce304fdc51e81f130aaab /lib/libalpm/sync.c | |
parent | d2cb52de12d3b2f313d80156f474b1d731ad67cf (diff) | |
download | pacman-81d233b79345d05d5bf17a4b2844085e14f9ee36.tar.gz pacman-81d233b79345d05d5bf17a4b2844085e14f9ee36.tar.xz |
repo-add: only update database if entire command succeeded
It is not hard to think of situations where the repo database should not
be updated unless the whole operation succeeds. Error out before a partial
database update occurs.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
0 files changed, 0 insertions, 0 deletions