pull/261/head
Alessio Sergi 2013-06-02 23:32:32 +02:00
parent 664f603b49
commit f560f52c4c
1 changed files with 1 additions and 1 deletions

View File

@ -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')