mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-30 12:02:49 +03:00
Fix issue #253
This commit is contained in:
parent
664f603b49
commit
f560f52c4c
2
setup.py
2
setup.py
@ -17,7 +17,7 @@ data_files = [
|
||||
('share/man/man1', ['docs/man/glances.1'])
|
||||
]
|
||||
|
||||
if hasattr(sys, 'real_prefix') or ('bsd' or 'darwin' in sys.platform):
|
||||
if hasattr(sys, 'real_prefix') or (sys.platform in ('bsd', 'darwin')):
|
||||
etc_path = os.path.join(sys.prefix, 'etc', 'glances')
|
||||
if not hasattr(sys, 'real_prefix') and 'linux' in sys.platform:
|
||||
etc_path = os.path.join('/etc', 'glances')
|
||||
|
Loading…
Reference in New Issue
Block a user