add further detect for rocky

This commit is contained in:
Usman Nasir
2021-09-21 13:12:46 +05:00
parent aef0a0a23f
commit 89c587de25

View File

@@ -55,7 +55,7 @@ def get_distro():
return cent8
if data.find('AlmaLinux release 8') > -1:
return cent8
if data.find('Rocky Linux release 8') > -1:
if data.find('Rocky Linux release 8') > -1 or data.find('Rocky Linux 8') > -1 or data.find('rocky:8') > -1:
return cent8
else: