fix other two bugs

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@815 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2007-12-08 13:20:30 +00:00
parent 15c67e1dfe
commit 7ddd7dfdf1
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -679,6 +679,10 @@ def set_binutils_profile(profile):
@output: returns int() as exit status
'''
def generate_icons_cache(cachedir):
if not etpConst['systemroot']:
myroot = "/"
else:
myroot = etpConst['systemroot']+"/"
if os.access('/usr/bin/gtk-update-icon-cache',os.X_OK):
os.system('ROOT="'+myroot+'" /usr/bin/gtk-update-icon-cache -qf '+cachedir)
return 0
+2 -1
View File
@@ -1117,7 +1117,8 @@ def removePackages(packages = [], atomsdata = [], deps = True, deep = False, sys
dumpTools.dumpobj(etpCache['remove'],resume_cache)
# unload dict
del etpRemovalTriggers[infoDict['removeatom']]
if not returnQueue:
del etpRemovalTriggers[infoDict['removeatom']]
if not (etpUi['quiet'] or returnQueue): print_info(red(" @@ ")+blue("All done."))