1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-02-28 09:21:53 -05:00
Olivier Brunel eadf389607 alpm: Abort ASAP on failure in pre-transaction hooks
There is no need to run any/remaining pre-transaction hooks as soon as a failure
has occured, which will lead to aborting the transaction.

So if an error occured during the first phase (reading directories/parsing
files), or as soon as a hook flagged abort_on_fail does fail, we stop processing
them and return.

(For post-transaction hooks, all hooks are run regardless since there's no
aborting.)

Signed-off-by: Olivier Brunel <jjk@jjacky.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
2015-12-15 20:33:26 +10:00
..
2012-04-25 20:02:36 -04:00
2015-12-05 17:46:12 +10:00
2015-02-01 21:19:04 +10:00
2015-02-01 21:19:04 +10:00
2015-02-01 21:19:04 +10:00
2015-12-15 20:15:02 +10:00
2015-02-01 21:19:04 +10:00
2014-01-15 15:54:56 +10:00
2015-11-03 21:45:09 +10:00
2015-02-01 21:19:04 +10:00
2015-10-27 14:22:30 +10:00
2015-02-01 21:19:04 +10:00
2015-10-27 14:22:30 +10:00
2015-02-01 21:19:04 +10:00
2015-10-27 14:22:30 +10:00
2015-02-01 21:19:04 +10:00
2015-11-11 13:47:08 +10:00
2015-02-01 21:19:04 +10:00
2015-11-11 13:47:08 +10:00
2015-02-01 21:19:04 +10:00
2015-10-18 10:59:23 +10:00
2015-02-01 21:19:04 +10:00
2015-02-01 21:19:04 +10:00
2015-10-27 14:22:30 +10:00
2015-02-01 21:19:04 +10:00
2015-02-01 21:19:04 +10:00
2015-02-01 21:19:04 +10:00
2015-12-05 17:53:37 +10:00
2015-10-18 10:59:23 +10:00
2015-12-15 15:09:28 +10:00
2015-10-18 10:59:23 +10:00
2015-10-18 10:59:23 +10:00
2015-02-01 21:19:04 +10:00
2015-10-18 10:59:23 +10:00
2015-02-01 21:19:04 +10:00
2015-02-01 21:19:04 +10:00
2015-02-01 21:19:04 +10:00
2015-11-11 13:47:08 +10:00
2015-02-01 21:19:04 +10:00
2015-02-01 21:19:04 +10:00
2015-02-01 21:19:04 +10:00
2015-02-01 21:19:04 +10:00
2015-12-06 10:34:31 +10:00
2015-11-28 22:52:11 +10:00
2015-02-01 21:19:04 +10:00