Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
9118aa8d
Commit
9118aa8d
authored
Nov 05, 2010
by
Christian Kandeler
Browse files
Maemo: Fix return code detection of package installation step.
parent
301caf3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
View file @
9118aa8d
...
...
@@ -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
)));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment