Skip to content
Snippets Groups Projects
Commit 8e29e0b3 authored by nkour's avatar nkour
Browse files

bugfix

parent 48711e98
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ def get_os_info():
fd.close()
if path_to_file.endswith('version'):
# sourcemage_version has all the info we need
if not path_to_file.startswith('sourcemage'):
if not os.path.basename(path_to_file).startswith('sourcemage'):
text = distro_name + ' ' + text
elif path_to_file.endswith('aurox-release'): # file doesn't have version
text = distro_name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment