[pacman-dev] CVS update of pacman-lib/src/pacman (add.c)
Aaron Griffin
aaron at archlinux.org
Wed Feb 28 23:51:33 EST 2007
Date: Wednesday, February 28, 2007 @ 23:51:33
Author: aaron
Path: /home/cvs-pacman/pacman-lib/src/pacman
Modified: add.c (1.32 -> 1.33)
* Just a note for future reference
-------+
add.c | 4 ++++
1 file changed, 4 insertions(+)
Index: pacman-lib/src/pacman/add.c
diff -u pacman-lib/src/pacman/add.c:1.32 pacman-lib/src/pacman/add.c:1.33
--- pacman-lib/src/pacman/add.c:1.32 Fri Feb 23 02:50:35 2007
+++ pacman-lib/src/pacman/add.c Wed Feb 28 23:51:33 2007
@@ -94,6 +94,10 @@
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)) {
More information about the pacman-dev
mailing list