File: fix_prefix_directory.patch

package info (click to toggle)
git-cola 3.12.0-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 5,228 kB
  • sloc: python: 30,007; makefile: 377; sh: 310; tcl: 62; xml: 32
file content (18 lines) | stat: -rw-r--r-- 422 bytes parent folder | download | duplicates (3)
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():