Commit 03d0be06 authored by Łukasz Nowak's avatar Łukasz Nowak

grid: Fix debian detection

In some cases the debian distribution version string can be returned uppercase.
parent ada43f14
Pipeline #7771 failed with stage
in 0 seconds
......@@ -55,6 +55,7 @@ def _debianize(os):
minor releases would be seen as not compatible to each other.
"""
distname, version, id_ = os
distname = distname.lower()
Please register or sign in to reply
if distname == 'debian' and '.' in version:
version = version.split('.')[0]
return distname, version, id_
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment