1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-05 18:50:09 +02:00

publish: avoid double removal of dev-supplied reference binary

This commit is contained in:
Michael Pöhn 2018-07-12 23:04:05 +02:00 committed by Hans-Christoph Steiner
parent cdc2147de9
commit db5ed26517

View File

@ -248,6 +248,9 @@ def main():
if compare_result:
logging.error("...verification failed - publish skipped : "
"{result}".format(result=compare_result))
os.remove(srcapk)
logging.debug('remvoed developer supplied reference binary: {path}'
.format(path=srcapk))
else:
# Success! So move the downloaded file to the repo, and remove
# our built version.