summaryrefslogtreecommitdiffstats
path: root/src/pacman/add.c
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-03-01 05:51:33 +0100
committerAaron Griffin <aaron@archlinux.org>2007-03-01 05:51:33 +0100
commit0974e046a3c006b57b1ec6c0b8d066751fbee1a3 (patch)
treeccf3c03556d0c546918e5feadf4b5d0a5f3b0bbb /src/pacman/add.c
parentaf5cbf30840d128f2896a92527700cd4bd44322c (diff)
downloadpacman-0974e046a3c006b57b1ec6c0b8d066751fbee1a3.tar.gz
pacman-0974e046a3c006b57b1ec6c0b8d066751fbee1a3.tar.xz
* Just a note for future reference
Diffstat (limited to 'src/pacman/add.c')
-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)) {