bugfix
This commit is contained in:
parent
48711e989d
commit
8e29e0b39f
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ def get_os_info():
|
||||||
fd.close()
|
fd.close()
|
||||||
if path_to_file.endswith('version'):
|
if path_to_file.endswith('version'):
|
||||||
# sourcemage_version has all the info we need
|
# 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
|
text = distro_name + ' ' + text
|
||||||
elif path_to_file.endswith('aurox-release'): # file doesn't have version
|
elif path_to_file.endswith('aurox-release'): # file doesn't have version
|
||||||
text = distro_name
|
text = distro_name
|
||||||
|
|
Loading…
Add table
Reference in a new issue