Entropy/ServerInterface:

- fix broken packages removal
Entropy/EquoInterface: - add env ACCEPT_LICENSE support


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1828 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-04-22 01:01:45 +00:00
parent d82bd2db0e
commit a73081516f
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -672,7 +672,7 @@ class etpDatabase:
mypath = self.ServiceInterface.quickpkg(myatom,mydest)
except:
# remove broken bin before raising
mypath = os.path.join(mydest,myatom+etpConst['packagesext'])
mypath = os.path.join(mydest,os.path.basename(myatom)+etpConst['packagesext'])
if os.path.isfile(mypath):
os.remove(mypath)
import traceback