summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/ipkg.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/noncore/settings/aqpkg/ipkg.cpp b/noncore/settings/aqpkg/ipkg.cpp
index d5157eb..f8513e4 100644
--- a/noncore/settings/aqpkg/ipkg.cpp
+++ b/noncore/settings/aqpkg/ipkg.cpp
@@ -67,3 +67,3 @@ bool Ipkg :: runIpkg( )
- if ( option != "update" && option != "download" )
+ if ( option != "update" && option != "download" && option != "upgrade" )
{
@@ -99,3 +99,6 @@ bool Ipkg :: runIpkg( )
- cmd += " " + option + " " + package + " 2>&1";
+ cmd += " " + option;
+ if ( option != "upgrade" )
+ cmd += " " + package;
+ cmd += " 2>&1";
@@ -120,2 +123,3 @@ bool Ipkg :: runIpkg( )
dependantPackages->setAutoDelete( true );
+
ret = executeIpkgCommand( cmd, option );