index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2012-06-20 16:18:42 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-06-25 23:05:59 -0500 |
commit | da0dcc29cf038de7dee9b16987b508e45d56ae91 (patch) | |
tree | 54d2511deb54262bd9bae32a8f4f556efd22f0de /src | |
parent | c6e47cb435988494f978c603eb12db97cfc88b3e (diff) |
-rw-r--r-- | src/pacman/query.c | 6 |
diff --git a/src/pacman/query.c b/src/pacman/query.c index a1cc1cf9..08974105 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -207,8 +207,10 @@ static int query_fileowner(alpm_list_t *targets) /* for files in '/', there is no directory name to match */ if(!rpath) { - print_query_fileowner(filename, info); - found = 1; + if(strcmp(pkgfile, bname) == 0) { + print_query_fileowner(filename, info); + found = 1; + } continue; } |