Skip to content
Snippets Groups Projects
Commit 9118aa8d authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Maemo: Fix return code detection of package installation step.

parent 301caf3d
No related branches found
No related tags found
No related merge requests found
......@@ -673,7 +673,7 @@ void MaemoDeployStep::runDpkg(const QString &packageFilePath)
QByteArray cmd = MaemoGlobal::remoteSudo().toUtf8() + " dpkg -i "
+ packageFilePath.toUtf8();
if (removeAfterInstall)
cmd += " && rm " + packageFilePath.toUtf8() + " || :";
cmd += " && (rm " + packageFilePath.toUtf8() + " || :)";
m_deviceInstaller = m_connection->createRemoteProcess(cmd);
connect(m_deviceInstaller.data(), SIGNAL(closed(int)), this,
SLOT(handleInstallationFinished(int)));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment