File: patch.diff

package info (click to toggle)
treeline 1.2.0-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 688 kB
  • ctags: 8
  • sloc: makefile: 64; python: 56
file content (24 lines) | stat: -rw-r--r-- 1,095 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -ruN TreeLine.orig/install.py TreeLine/install.py
--- TreeLine.orig/install.py	2006-02-10 03:08:17.000000000 +0100
+++ TreeLine/install.py	2006-08-07 00:54:38.904774750 +0200
@@ -210,7 +210,7 @@
         if testSpell:
             spellCheck(['aspell -a', 'ispell -a'])
 
-    pythonPrefixDir = os.path.join(prefixDir, 'lib', progName)
+    pythonPrefixDir = os.path.join(prefixDir, 'share', progName)
     pythonBuildDir = os.path.join(buildRoot, pythonPrefixDir[1:])
     if os.path.isdir('source'):
         compileall.compile_dir('source', ddir=os.path.join(prefixDir, 'source'))
diff -ruN TreeLine.orig/uninstall.py TreeLine/uninstall.py
--- TreeLine.orig/uninstall.py	2005-04-22 21:44:07.000000000 +0200
+++ TreeLine/uninstall.py	2006-08-07 00:54:51.073535250 +0200
@@ -61,7 +61,7 @@
             prefixDir = val
     print 'Removing files...'
     global progName
-    removeAll(os.path.join(prefixDir, 'lib', progName))
+    removeAll(os.path.join(prefixDir, 'share', progName))
     removeAll(os.path.join(prefixDir, 'share', 'doc', progName))
     global hasData
     if hasData: