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:
@@ -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
@@ -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."))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user