diff options
author | Olivier Brunel <jjk@jjacky.com> | 2014-01-10 16:25:13 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-01-28 11:10:49 +0100 |
commit | 4e9d88aa05184e29368f1602b9fcb6a05d293095 (patch) | |
tree | e5d3de423bdbce560ce70b03fc408781f26eca69 /src | |
parent | e65a752475797eb3e917858190a2679e9cd680b9 (diff) | |
download | pacman-4e9d88aa05184e29368f1602b9fcb6a05d293095.tar.gz pacman-4e9d88aa05184e29368f1602b9fcb6a05d293095.tar.xz |
Rename ALPM_EVENT_OPTDEP_REQUIRED to _OPTDEP_REMOVAL
Because this event is triggered when an optdepend for another package is
being removed.
Signed-off-by: Olivier Brunel <jjk@jjacky.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 8c0fab55..4b0f881a 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -247,7 +247,7 @@ void cb_event(alpm_event_t event, void *data1, void *data2) printf(_("checking available disk space...\n")); } break; - case ALPM_EVENT_OPTDEP_REQUIRED: + case ALPM_EVENT_OPTDEP_REMOVAL: colon_printf(_("%s optionally requires %s\n"), alpm_pkg_get_name(data1), alpm_dep_compute_string(data2)); break; |