1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-24 07:37:04 +00:00

version recognition

This commit is contained in:
KiekerJan 2021-06-23 21:02:21 +02:00
parent 606e66fe80
commit 56f9df738f

View File

@ -922,7 +922,9 @@ def check_miab_version(env, output):
else: else:
latest_ver = get_latest_miab_version() latest_ver = get_latest_miab_version()
if this_ver[-3:] == "-kj": if this_ver[-6:] == "-20.04":
this_ver_tag = this_ver[:-6]
elif this_ver[-3:] == "-kj":
this_ver_tag = this_ver[:-3] this_ver_tag = this_ver[:-3]
else: else:
this_ver_tag = this_ver this_ver_tag = this_ver