From f560f52c4c4aa00d84e9c4dfd0eed545c7577074 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 2 Jun 2013 23:32:32 +0200 Subject: [PATCH] Fix issue #253 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7c0d3554..238b887a 100755 --- a/setup.py +++ b/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')