From 16718a216ee5607c56d220a198fdb48a923aaafc Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Fri, 16 Oct 2015 20:28:25 -0400 Subject: run hooks during trans_commit Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- lib/libalpm/error.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libalpm/error.c') 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"); -- cgit v1.2.3-24-g4f1b