checksum fetch disabled

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@446 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2007-08-12 08:07:11 +00:00
parent 8c0483d673
commit 369c2bd32b
+6 -6
View File
@@ -2723,12 +2723,12 @@ def stepExecutor(step,infoDict, clientDbconn = None):
else:
errormsg = red("Package checksum does not match. Try to run: '")+bold("equo repo sync")+red("' and this command again. Error "+str(output))
print_error(errormsg)
# otherwise fetch md5 too
print_info(red(" ## ")+blue("Fetching package checksum: ")+red(os.path.basename(infoDict['download']+etpConst['packageshashfileext'])))
output = fetchFile(infoDict['download']+etpConst['packageshashfileext'],False)
if output != 0:
errormsg = red("Cannot find the checksum file online. Try to run: ")+bold("equo repo sync")+red("' and this command again. Error "+str(output))
print_error(errormsg)
# database entry will be used
#print_info(red(" ## ")+blue("Fetching package checksum: ")+red(os.path.basename(infoDict['download']+etpConst['packageshashfileext'])))
#output = fetchFile(infoDict['download']+etpConst['packageshashfileext'],False)
#if output != 0:
# errormsg = red("Cannot find the checksum file online. Try to run: ")+bold("equo repo sync")+red("' and this command again. Error "+str(output))
# print_error(errormsg)
elif step == "install":
if (etpConst['gentoo-compat']):
print_info(red(" ## ")+blue("Installing package: ")+red(os.path.basename(infoDict['download']))+" ## w/Gentoo compatibility")