Lower case the distname (only on linux distribution)
Cases are (should be) not important here. Let's lower it.
This commit is contained in:
parent
1364704e1e
commit
7b293575de
|
@ -252,7 +252,8 @@ class BuildEnv:
|
||||||
'Tests, bug reports and patches are welcomed.')
|
'Tests, bug reports and patches are welcomed.')
|
||||||
if _platform == 'Linux':
|
if _platform == 'Linux':
|
||||||
self.distname, _, _ = platform.linux_distribution()
|
self.distname, _, _ = platform.linux_distribution()
|
||||||
if self.distname == 'Ubuntu':
|
self.distname = self.distname.lower()
|
||||||
|
if self.distname == 'ubuntu':
|
||||||
self.distname = 'debian'
|
self.distname = 'debian'
|
||||||
|
|
||||||
def finalize_setup(self):
|
def finalize_setup(self):
|
||||||
|
|
Loading…
Reference in New Issue