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:
parent
e1bf22911b
commit
04d63a269d
@ -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]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user