aboutsummaryrefslogtreecommitdiff
path: root/doc/api/ruby/example_match_package.rb
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-13 18:02:44 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-13 18:02:44 +0100
commit68f2de2c2c795832607bfbe9249affd36faac431 (patch)
tree69be5cbe7045cca9ba271c732411f29fd750f8ce /doc/api/ruby/example_match_package.rb
parentef75cff538e62392f02391329bad533ce9adf662 (diff)
downloadpaludis-68f2de2c2c795832607bfbe9249affd36faac431.tar.gz
paludis-68f2de2c2c795832607bfbe9249affd36faac431.tar.xz
Kill InstalledAction
Diffstat (limited to 'doc/api/ruby/example_match_package.rb')
-rw-r--r--doc/api/ruby/example_match_package.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/ruby/example_match_package.rb b/doc/api/ruby/example_match_package.rb
index 293eb7bc3..7a448be03 100644
--- a/doc/api/ruby/example_match_package.rb
+++ b/doc/api/ruby/example_match_package.rb
@@ -18,7 +18,7 @@ env = EnvironmentFactory.instance.create(ExampleCommandLine.instance.environment
# Fetch all installed packages
ids = env[Selection::AllVersionsSorted.new(
- Generator::All.new | Filter::SupportsAction.new(InstalledAction))]
+ Generator::All.new | Filter::InstalledAtRoot.new("/"))]
# Fetch the 'system' and 'world' sets. Ordinarily we should check for
# Nil here, but these two sets will always exist.