small fix of version check

This commit is contained in:
Garret Raziel 2015-02-11 11:04:04 +01:00 committed by Josef Skladanka
parent c29fbde4b2
commit c8e3496139

View File

@ -80,7 +80,7 @@ def run_if_newer():
# don't run when there is newer version # don't run when there is newer version
last_version = last_versions.get(arch, None) last_version = last_versions.get(arch, None)
print f_version, current_version, link, name, arch, print f_version, current_version, link, name, arch,
if last_version is not None and (last_version == current_version): if last_version is not None and (last_version >= current_version):
print " - Skipped" print " - Skipped"
continue continue