This commit is contained in:
usman@cyberpersons.com
2023-05-09 15:23:26 +05:00
parent 2b7c8104b4
commit 2d534a97a4
4 changed files with 4 additions and 8 deletions

View File

@@ -167,8 +167,9 @@ class ProcessUtilities(multi.Thread):
distroPath = '/etc/lsb-release'
if os.path.exists(distroPath):
## this is check only
if open(distroPath, 'r').read().find('22.04'):
if open(distroPath, 'r').read().find('22.04') > -1:
ProcessUtilities.ubuntu22Check = 1
if open(distroPath, 'r').read().find('20.04') > -1 or open(distroPath, 'r').read().find('22.04'):