add further detect for rocky

This commit is contained in:
Usman Nasir
2021-09-21 13:12:46 +05:00
parent 42a0822ba7
commit b10ea6c6da

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: