summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authornecoro <>2007-02-06 11:57:18 +0000
committernecoro <>2007-02-06 11:57:18 +0000
commit7424d41cdb946063ef686ce212885f11ab41166a (patch)
treece9cfb8753530a4685157c31f15a3a3d1ff37b3a /portato
parent24cb681c192e4ed835a75e626c0f23237886797f (diff)
downloadportato-7424d41cdb946063ef686ce212885f11ab41166a.tar.gz
portato-7424d41cdb946063ef686ce212885f11ab41166a.tar.bz2
portato-7424d41cdb946063ef686ce212885f11ab41166a.zip
bug fix in update_world
Diffstat (limited to '')
-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 = []