提交 bc587d6d 编写于 作者: A Alessio Sergi

Fix #296

上级 ef661f97
......@@ -19,7 +19,7 @@ data_files = [
if hasattr(sys, 'real_prefix') or 'bsd' in sys.platform:
conf_path = os.path.join(sys.prefix, 'etc', 'glances')
if not hasattr(sys, 'real_prefix') and 'linux' in sys.platform:
elif not hasattr(sys, 'real_prefix') and 'linux' in sys.platform:
conf_path = os.path.join('/etc', 'glances')
elif 'darwin' in sys.platform:
conf_path = os.path.join('/usr/local', 'etc', 'glances')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册