summaryrefslogtreecommitdiff
path: root/src/pacman/sync.c
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-03-19 04:23:45 +0000
committerAaron Griffin <aaron@archlinux.org>2007-03-19 04:23:45 +0000
commitbd55cf548c63958e6d4e8c15ccd5bed3972e0574 (patch)
tree41cf89dc9d7b0f25ebfb1a3afeb5d4807ee55aca /src/pacman/sync.c
parentcf6f184243a230b8f0b775269ced06a239827bd1 (diff)
James Rosten <seinfeld90@gmail.com>
* Two new pactest test cases * Fix some "required by" / "requires" output by unifying all "dependency types" to a single value (PM_DEP_TYPE_DEPEND)
Diffstat (limited to 'src/pacman/sync.c')
-rw-r--r--src/pacman/sync.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 4245b964..3d5289a0 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -618,10 +618,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);
- MSG(NL, ":: %s %s %s", alpm_dep_get_target(miss),
- alpm_dep_get_type(miss) == PM_DEP_TYPE_DEPEND ?
- _("requires") : _("is required by"),
- alpm_dep_get_name(miss));
+ MSG(NL, ":: %s %s %s", alpm_dep_get_target(miss), _("requires"),
+ alpm_dep_get_name(miss));
switch(alpm_dep_get_mod(miss)) {
case PM_DEP_MOD_ANY:
break;