summaryrefslogtreecommitdiffstats
path: root/extra/gestpkg/gestpkg-logfile-01.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gestpkg/gestpkg-logfile-01.patch')
-rw-r--r--extra/gestpkg/gestpkg-logfile-01.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/extra/gestpkg/gestpkg-logfile-01.patch b/extra/gestpkg/gestpkg-logfile-01.patch
new file mode 100644
index 000000000..bb63e8e5a
--- /dev/null
+++ b/extra/gestpkg/gestpkg-logfile-01.patch
@@ -0,0 +1,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,