From 8588b4823b579bc41909734f5a13a420d64487d6 Mon Sep 17 00:00:00 2001 From: Chantry Xavier Date: Sun, 10 Jun 2007 14:40:25 +0200 Subject: Ensure correct and consistent usage of depmiss See comment from Nagy here : http://www.archlinux.org/pipermail/pacman-dev/2007-April/008134.html This also makes easier correct usage of checkdeps in sync.c, which fixes sync901 pactest (and so bug 6057). Signed-off-by: Dan McGee --- src/pacman/remove.c | 2 +- src/pacman/sync.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/pacman/remove.c b/src/pacman/remove.c index 9750fe47..aa9ae5da 100644 --- a/src/pacman/remove.c +++ b/src/pacman/remove.c @@ -114,7 +114,7 @@ int pacman_remove(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); - printf(_(":: %s is required by %s\n"), alpm_dep_get_target(miss), + printf(_(":: %s depends on %s\n"), alpm_dep_get_target(miss), alpm_dep_get_name(miss)); } alpm_list_free(data); diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 8d810f83..c2c4f37c 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -626,8 +626,8 @@ int pacman_sync(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); - printf(":: %s %s %s", alpm_dep_get_target(miss), _("requires"), - alpm_dep_get_name(miss)); + printf(_(":: %s depends on %s\n"), alpm_dep_get_target(miss), + alpm_dep_get_name(miss)); switch(alpm_dep_get_mod(miss)) { case PM_DEP_MOD_ANY: break; -- cgit v1.2.3