diff options
Diffstat (limited to 'src/GLIPortage.py')
-rw-r--r-- | src/GLIPortage.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/GLIPortage.py b/src/GLIPortage.py index b60a73a..fd5a200 100644 --- a/src/GLIPortage.py +++ b/src/GLIPortage.py @@ -288,7 +288,10 @@ class GLIPortage(object): def emerge(self, packages, grp_install=False, add_to_world=True): if isinstance(packages, str): packages = packages.split() - self._cc.addNotification("progress", (0, "Calculating dependencies for " + " ".join(packages))) + if len(packages) > 1: + self._cc.addNotification("progress", (0, "Calculating dependencies for your packages")) + else: + self._cc.addNotification("progress", (0, "Calculating dependencies for " + " ".join(packages))) pkglist = self.get_deps(packages, grp_install) if self._debug: self._logger.log("install_packages(): pkglist is " + str(pkglist)) for i, pkg in enumerate(pkglist): |