summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2007-06-10 14:40:25 +0200
committerDan McGee <dan@archlinux.org>2007-06-10 21:41:06 -0400
commit8588b4823b579bc41909734f5a13a420d64487d6 (patch)
tree92f8e03efdd0c5aa82963eddde2531227a633947 /src
parent07069cd50291753ff6a99750cce4ea3a5a06ddb6 (diff)
downloadpacman-8588b4823b579bc41909734f5a13a420d64487d6.tar.xz
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 <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/remove.c2
-rw-r--r--src/pacman/sync.c4
2 files changed, 3 insertions, 3 deletions
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;