mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-12-22 10:08:30 +00:00
small fix of version check
This commit is contained in:
parent
c29fbde4b2
commit
c8e3496139
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user