# HG changeset patch # User Andre Heinecke # Date 1407501451 -7200 # Node ID 2e7fff9d195acc92f1a55ce924ce9a58f3b97dcb # Parent b61d5a289d8f86db077422408521377b7dd00e2c Update in the real prefix diff -r b61d5a289d8f -r 2e7fff9d195a ui/mainwindow.cpp --- a/ui/mainwindow.cpp Fri Aug 08 14:37:02 2014 +0200 +++ b/ui/mainwindow.cpp Fri Aug 08 14:37:31 2014 +0200 @@ -313,7 +313,9 @@ return; } #else /* WIN32 */ + /* On linux installDir is /bin */ QStringList parameters; + installDir.cdUp(); parameters << "--prefix" << installDir.path(); bool sudo_started = false; bool use_sudo = is_admin() && is_system_install(); @@ -333,6 +335,7 @@ } } } + qDebug() << "Starting process " << filePath <<" params: " << parameters; if (!sudo_started && !QProcess::startDetached(filePath, parameters)) { qDebug() << "Failed to start process."; return;