From 22d8d3a927f1e9c48bf4b640d68896fdfa1dc3eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Mon, 19 Mar 2007 20:31:38 +0000 Subject: [PATCH] backport from trunk --- pisi/cli/commands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pisi/cli/commands.py b/pisi/cli/commands.py index b6cf5853..9ef11827 100644 --- a/pisi/cli/commands.py +++ b/pisi/cli/commands.py @@ -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)