summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/callback.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c
index 01c6b619..a51aa4b6 100644
--- a/src/pacman/callback.c
+++ b/src/pacman/callback.c
@@ -239,6 +239,10 @@ void cb_event(alpm_event_t event, void *data1, void *data2)
printf(_("checking available disk space...\n"));
}
break;
+ case ALPM_EVENT_OPTDEP_REQUIRED:
+ printf(_(":: %s optionally requires %s\n"), alpm_pkg_get_name(data1),
+ alpm_dep_compute_string(data2));
+ break;
/* all the simple done events, with fallthrough for each */
case ALPM_EVENT_FILECONFLICTS_DONE:
case ALPM_EVENT_CHECKDEPS_DONE: