2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-12 18:59:06 +00:00

Fix detection of CentOS 8.3

They changed their package name to be consistent with
their focal shift.
This commit is contained in:
Jarrod Johnson 2020-12-15 12:59:48 -05:00
parent e1bf22911b
commit 04d63a269d

View File

@ -250,6 +250,11 @@ def check_centos(isoinfo):
cat = 'el8'
isstream = '_stream'
break
elif 'centos-linux-release-8' in entry:
ver = entry.split('-')[3]
arch = entry.split('.')[-2]
cat = 'el8'
break
else:
return None
if arch == 'noarch' and '.discinfo' in isoinfo[1]: