index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2011-11-11 15:56:18 -0500 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-11-11 16:08:21 -0500 |
commit | 64d54f674150fdcf4b925f7f27067c7ec0446863 (patch) | |
tree | a7e9889f7bc16303871b814f8937bc3908a7ad3c /lib/libalpm/package.c | |
parent | 1a994bf180003b814b135a5acd6f3e2aa67121fc (diff) |
-rw-r--r-- | lib/libalpm/package.c | 4 |
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index 0b0bf6e4..e0f4ff26 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -695,9 +695,9 @@ int _alpm_pkg_should_ignore(alpm_handle_t *handle, alpm_pkg_t *pkg) } /* next see if the package is in a group that is ignored */ - for(groups = handle->ignoregroup; groups; groups = groups->next) { + for(groups = alpm_pkg_get_groups(pkg); groups; groups = groups->next) { char *grp = groups->data; - if(alpm_list_find_str(alpm_pkg_get_groups(pkg), grp)) { + if(alpm_list_find_str(handle->ignoregroup, grp)) { return 1; } } |