summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--portato/backend/portage_helper.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/portato/backend/portage_helper.py b/portato/backend/portage_helper.py
index 1cc952f..be4c76c 100644
--- a/portato/backend/portage_helper.py
+++ b/portato/backend/portage_helper.py
@@ -324,11 +324,7 @@ def update_world (newuse = False, deep = False):
world.close()
# append system packages
- sys = find_all_system_packages()
- for x in sys:
- if x[0] == "*": # some packages are stored with a '*' at the front - ignore it
- x = x[1:]
- packages.append(x.strip())
+ packages.extend(unique_array([p.get_cp() for p in find_all_system_packages()]))
def get_new_packages (packages):
new_packages = []