index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2016-02-21 16:20:22 +1000 |
---|---|---|
committer | Andrew Gregory <andrew.gregory.8@gmail.com> | 2017-04-27 22:12:28 -0400 |
commit | c6e46c9ebb4563a1f1446c48c242abe0c6736173 (patch) | |
tree | b400c568874eae5d73f7de4ef8f572ebfcad7a0a | |
parent | c2f9758018479c15a34887d960f36ba9b532175f (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) { |