index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2016-02-21 16:20:22 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-02-26 15:18:43 +1000 |
commit | 76a7d2293c0e7a732254a1cfea6a62df07b8795e (patch) | |
tree | 06657d51809c354b96e14b116502476e58a36be3 /src/pacman | |
parent | 8ff03868a37b1f9c447784ae2fd639a49e426399 (diff) |
-rw-r--r-- | src/pacman/util.c | 2 |
diff --git a/src/pacman/util.c b/src/pacman/util.c index 48a3600d..e613c759 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -1203,7 +1203,7 @@ static char *make_optstring(alpm_depend_t *optdep) char *status = NULL; if(alpm_find_satisfier(alpm_db_get_pkgcache(localdb), optdep->name)) { status = _(" [installed]"); - } else if(alpm_pkg_find(alpm_trans_get_add(config->handle), optdep->name)) { + } else if(alpm_find_satisfier(alpm_trans_get_add(config->handle), optdep->name)) { status = _(" [pending]"); } if(status) { |