changeset 1260:82792b3a16bd

Add inactive debug code for update installation
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 26 Sep 2014 13:28:47 +0200
parents f1e461340ede
children 8bfbfd4ea568
files ui/mainwindow.cpp
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ui/mainwindow.cpp	Fri Sep 26 13:18:46 2014 +0200
+++ b/ui/mainwindow.cpp	Fri Sep 26 13:28:47 2014 +0200
@@ -438,6 +438,11 @@
         sudoParams << parameters;
         updaterProcess->setArguments(sudoParams);
 
+#if 0
+        updaterProcess->setStandardErrorFile("/tmp/tb-inst-err.log");
+        updaterProcess->setStandardOutputFile("/tmp/tb-inst-out.log");
+#endif
+
         foreach (const QString &sProg, sudoPrograms) {
             qDebug() << "Starting process " << sProg <<" params: " << sudoParams;
             updaterProcess->setProgram(sProg);

http://wald.intevation.org/projects/trustbridge/