git-cola/git-cola-1.4.2.5-doc.patch

12 lines
464 B
Diff
Raw Permalink Normal View History

--- cola-1.4.2.5/cola/resources.py.orig 2010-11-12 17:32:20.000000000 +0100
+++ cola-1.4.2.5/cola/resources.py 2010-11-12 17:34:35.000000000 +0100
@@ -21,7 +21,8 @@
def doc(*args):
"""Return a path relative to cola's /usr/share/doc/ directory"""
- return os.path.join(_prefix, 'share', 'doc', 'git-cola', *args)
+ from cola import version
+ return os.path.join(_prefix, 'share', 'doc', 'git-cola-' + version.version(), *args)
def html_docs():