summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/add.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pacman/add.c b/src/pacman/add.c
index 14bb3710..40a4bc2d 100644
--- a/src/pacman/add.c
+++ b/src/pacman/add.c
@@ -94,6 +94,10 @@ int pacman_add(alpm_list_t *targets)
case PM_ERR_UNSATISFIED_DEPS:
for(i = data; i; i = alpm_list_next(i)) {
pmdepmissing_t *miss = alpm_list_getdata(i);
+
+ /* TODO indicate if the error was a virtual package or not:
+ * :: %s: requires %s, provided by %s
+ */
MSG(NL, _(":: %s: requires %s"), alpm_dep_get_target(miss),
alpm_dep_get_name(miss));
switch(alpm_dep_get_mod(miss)) {