mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-10 23:36:11 +01:00
bug fix: email debugger
This commit is contained in:
@@ -166,7 +166,7 @@ class ProcessUtilities(multi.Thread):
|
|||||||
distroPath = '/etc/lsb-release'
|
distroPath = '/etc/lsb-release'
|
||||||
|
|
||||||
if os.path.exists(distroPath):
|
if os.path.exists(distroPath):
|
||||||
if open(distroPath, 'r').read().find('20.04') > -1:
|
if open(distroPath, 'r').read().find('20.04') > -1 or open(distroPath, 'r').read().find('22.04'):
|
||||||
return ProcessUtilities.ubuntu20
|
return ProcessUtilities.ubuntu20
|
||||||
return ProcessUtilities.ubuntu
|
return ProcessUtilities.ubuntu
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user