summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwheatdog <wheatdoge@gmail.com>2019-02-27 10:16:54 +0800
committerwheatdog <wheatdoge@gmail.com>2019-02-27 10:16:54 +0800
commit325b4022fe22a3d41c54eebd66d7132b6f981c6c (patch)
treeed0e9275beee5a700c4a6dd5996f94412fa8dcc9
parent662f27a2a9fbee2e51283f7fea97b7196a820d12 (diff)
downloadaurutils-extra-325b4022fe22a3d41c54eebd66d7132b6f981c6c.tar.gz
aurutils-extra-325b4022fe22a3d41c54eebd66d7132b6f981c6c.tar.zst
aurutils-extra-325b4022fe22a3d41c54eebd66d7132b6f981c6c.zip
Filter out root packages which are installable
-rwxr-xr-xaur-prunedep1
1 files changed, 1 insertions, 0 deletions
diff --git a/aur-prunedep b/aur-prunedep
index d17d194..8682e13 100755
--- a/aur-prunedep
+++ b/aur-prunedep
@@ -92,6 +92,7 @@ def main(args):
line = line.strip()
start_pkgs.add(line)
+ start_pkgs = start_pkgs - exclude_pkgs
graph = PackageGraph(args.depends_file)
graph.traverse_and_print_without_sub(exclude_pkgs, start_pkgs)