- be more bastard, use neededSize whose requirements are higher than unpackSize


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1487 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2008-03-18 12:08:36 +00:00
parent bacee7e241
commit 2fd4b009db

View File

@@ -543,7 +543,7 @@ def installPackages(packages = [], atomsdata = [], deps = True, emptydeps = Fals
print_info(red(" @@ ")+bold("You need at least:\t\t")+blue(str(Equo.entropyTools.bytesIntoHuman(neededSize))+" of free space"))
# check for disk space and print a warning
## unpackSize
size_match = Equo.entropyTools.check_required_space(etpConst['entropyunpackdir'],unpackSize)
size_match = Equo.entropyTools.check_required_space(etpConst['entropyunpackdir'],neededSize)
if not size_match:
print_info(darkred(" !!! ")+bold("Attention"))
print_info(darkred(" !!! ")+bold("Attention"))