12345678910111213141516171819202122 |
- $OpenBSD: patch-setup_py,v 1.2 2016/09/03 16:54:15 giovanni Exp $
- --- setup.py.orig Mon Aug 1 17:54:48 2016
- +++ setup.py Sat Sep 3 18:45:36 2016
- @@ -367,7 +367,7 @@ class install_data(_install_data):
- elif os.name == 'nt':
- install_sysconfdir = os.path.join(install_dir, 'etc')
- else:
- - install_sysconfdir = '/etc'
- + install_sysconfdir = '${PREFIX}/share/examples'
-
- # Go over all entries in data_files and process it if needed
- new_data_files = []
- @@ -399,7 +399,7 @@ class install_data(_install_data):
- filename = os.path.splitext(filename)[0]
- config.write(open(filename, "w"))
- # change directory 'fabric' to mysql
- - directory = os.path.join(install_sysconfdir, 'mysql')
- + directory = os.path.join(install_sysconfdir, 'mysql-utilities')
- data_files.append((directory, filename))
- new_data_files.extend(data_files)
-
|