File: paths.patch

package info (click to toggle)
vistrails 3.0~git%2B9dc22bd.dfsg.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 62,856 kB
  • sloc: python: 314,055; xml: 42,697; sql: 4,113; php: 731; sh: 469; makefile: 253
file content (17 lines) | stat: -rw-r--r-- 548 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Search in the correct locations for stuff on Debian.
Last-Updated: 2014-05-16
Forwarded: not-needed

--- a/vistrails/core/system/__init__.py
+++ b/vistrails/core/system/__init__.py
@@ -132,7 +132,8 @@
     __fileDir = os.path.realpath(os.path.join(__rootDir,
                                               '/'.join(['..']*6),'examples'))
 
-__examplesDir = __fileDir
+# Examples directory on Debian.
+__examplesDir = '/usr/share/doc/vistrails/examples'
 
 __defaultFileType = '.vt'