Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/error.c
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2015-10-16 20:28:25 -0400
committerAllan McRae <allan@archlinux.org>2015-10-18 10:59:23 +1000
commit16718a216ee5607c56d220a198fdb48a923aaafc (patch)
tree029cbd2d0bbae31ad48e9b412a7b18f2c414ceac /lib/libalpm/error.c
parent568a89d58018e89e3a5bb3c28cb0ca3b845aae1b (diff)
run hooks during trans_commit
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/error.c')
-rw-r--r--lib/libalpm/error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c
index 76b710cb..0a12cdef 100644
--- a/lib/libalpm/error.c
+++ b/lib/libalpm/error.c
@@ -100,6 +100,8 @@ const char SYMEXPORT *alpm_strerror(alpm_errno_t err)
return _("operation not compatible with the transaction type");
case ALPM_ERR_TRANS_NOT_LOCKED:
return _("transaction commit attempt when database is not locked");
+ case ALPM_ERR_TRANS_HOOK_FAILED:
+ return _("failed to run transaction hooks");
/* Packages */
case ALPM_ERR_PKG_NOT_FOUND:
return _("could not find or read package");