File: fix_prefix_directory.patch

package info (click to toggle)
git-cola 4.13.0-1
  • links: PTS
  • area: main
  • in suites: forky
  • size: 6,480 kB
  • sloc: python: 36,938; sh: 304; makefile: 223; xml: 100; tcl: 62
file content (18 lines) | stat: -rw-r--r-- 422 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: set prefix directory correctly
 Static files like documentation is under /usr .
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Forwarded: no
Last-Update: 2021-07-20

---

--- a/cola/resources.py
+++ b/cola/resources.py
@@ -28,6 +28,7 @@ else:
     # this is the source tree
     # __file__ = '$prefix/cola/__file__.py'
     _prefix = dirname(dirname(_modpath))
+    _prefix = '/usr'
 
 
 def get_prefix():