Merge with Ross' work on Debian upstream (http://anonscm.debian.org/gitweb/?p=collab-maint/gramps.git)
This commit is contained in:
21
debian/patches/0001-Correct-resource-path-in-setup.py.patch
vendored
Normal file
21
debian/patches/0001-Correct-resource-path-in-setup.py.patch
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
From: Ross Gammon <rossgammon@mail.dk>
|
||||
Date: Fri, 24 Jan 2014 23:20:58 +0100
|
||||
Subject: Correct resource path in setup.py
|
||||
|
||||
---
|
||||
setup.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
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'))
|
||||
+ path = os.path.join('/usr', 'share')
|
||||
if sys.version_info[0] < 3:
|
||||
path = unicode(path)
|
||||
fp.write(path)
|
||||
Reference in New Issue
Block a user