backport from trunk

This commit is contained in:
S.Çağlar Onur
2007-03-19 20:31:38 +00:00
parent 82c39f75e7
commit 22d8d3a927
+3
View File
@@ -719,6 +719,9 @@ expanded to package names.
packages.extend(ctx.componentdb.get_union_packages(name, walk=True))
packages.extend(self.args)
if packages = []:
packages = ctx.installdb.list_installed()
if ctx.get_option('exclude_from'):
packages = self.exclude_from(packages)