summaryrefslogtreecommitdiffstats
path: root/extra/gestpkg/gestpkg-logfile-01.patch
blob: bb63e8e5a55fa30e6b98215cc4a725a6e3c16608 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
diff -Naur gestpkg-1.1-src.original/GestPkgGUI/GestPkgGUI.py gestpkg-1.1-src/GestPkgGUI/GestPkgGUI.py
--- gestpkg-1.1-src.original/GestPkgGUI/GestPkgGUI.py	2009-10-12 12:33:35.000000000 +0000
+++ gestpkg-1.1-src/GestPkgGUI/GestPkgGUI.py	2010-09-14 06:43:20.000000000 +0000
@@ -126,7 +126,7 @@
 #------------------------------ LOG ------------------------------------
 
 saveout = sys.stdout
-f = open(REP_DATA + "/log/gestpkg.log", "w")
+f = open("/var/log/gestpkg.log", "w")
 sys.stdout = f
 sys.stderr = f
 
diff -Naur gestpkg-1.1-src.original/GestPkgGUI/log/gestpkg.log gestpkg-1.1-src/GestPkgGUI/log/gestpkg.log
--- gestpkg-1.1-src.original/GestPkgGUI/log/gestpkg.log	2009-10-17 14:55:11.000000000 +0000
+++ gestpkg-1.1-src/GestPkgGUI/log/gestpkg.log	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
- 
diff -Naur gestpkg-1.1-src.original/build/lib/GestPkgGUI/GestPkgGUI.py gestpkg-1.1-src/build/lib/GestPkgGUI/GestPkgGUI.py
--- gestpkg-1.1-src.original/build/lib/GestPkgGUI/GestPkgGUI.py	2009-10-12 12:33:35.000000000 +0000
+++ gestpkg-1.1-src/build/lib/GestPkgGUI/GestPkgGUI.py	2010-09-14 06:49:33.000000000 +0000
@@ -126,7 +126,7 @@
 #------------------------------ LOG ------------------------------------
 
 saveout = sys.stdout
-f = open(REP_DATA + "/log/gestpkg.log", "w")
+f = open("/var/log/gestpkg.log", "w")
 sys.stdout = f
 sys.stderr = f
 
diff -Naur gestpkg-1.1-src.original/setup.py gestpkg-1.1-src/setup.py
--- gestpkg-1.1-src.original/setup.py	2009-10-17 15:02:23.000000000 +0000
+++ gestpkg-1.1-src/setup.py	2010-09-14 06:53:50.000000000 +0000
@@ -7,7 +7,7 @@
 
 PACKAGE = "GestPkgGUI"
 VERSION = "1.1"
-DATA = ['*.py','ico/*','img/*', 'log/*']
+DATA = ['*.py','ico/*','img/*']
 
 def main():
     setup(name=PACKAGE,