diff options
-rw-r--r-- | pym/portage/sets/profiles.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/sets/profiles.py b/pym/portage/sets/profiles.py index 011412a53..8efa0ec05 100644 --- a/pym/portage/sets/profiles.py +++ b/pym/portage/sets/profiles.py @@ -16,6 +16,9 @@ class PackagesSystemSet(PackageSet): self._profile_paths = profile_paths if profile_paths: description = self._profile_paths[-1] + if description == "/etc/portage/profile" and \ + len(self._profile_paths) > 1: + description = self._profile_paths[-2] else: description = None self.description = "System packages for profile %s" % description |