gramps/debian/patches/0001-Correct-resource-path-in-setup.py.patch

14 lines
526 B
Diff
Raw Normal View History

diff --git a/setup.py b/setup.py
index 3f702ae..9622d75 100644
--- a/setup.py
+++ b/setup.py
@@ -248,7 +248,7 @@ class install(_install):
'utils', 'resource-path')
with io.open(resource_file, 'w', encoding='utf-8',
errors='strict') as fp:
- path = os.path.abspath(os.path.join(self.install_data, 'share'))
2014-02-05 00:12:31 +05:30
+ path = '/usr/share'
if sys.version_info[0] < 3:
path = unicode(path)
fp.write(path)