File: paths.patch

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

Index: vistrails-2.2/vistrails/core/system/__init__.py
===================================================================
--- vistrails-2.2.orig/vistrails/core/system/__init__.py
+++ vistrails-2.2/vistrails/core/system/__init__.py
@@ -132,7 +132,8 @@ if systemType in ['Darwin'] and not os.p
     __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'