Removed version check from main as it is checked in the download function. Having the check here was breaking "latest version" functionality.

This commit is contained in:
chris.schmidt 2015-02-18 09:22:57 -07:00
parent 44bfe5a7d6
commit 4dfbafb339

View file

@ -349,8 +349,7 @@ def main():
prev_state = "absent"
if os.path.isdir(dest):
dest = dest + "/" + artifact_id + "-" + version + ".jar"
dest = dest + "/" + artifact_id + "-" + version + "." + extension
if os.path.lexists(dest):
prev_state = "present"
else: