-rw-r--r-- | noncore/settings/aqpkg/ipkg.cpp | 8 |
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 @@ -66,5 +66,5 @@ bool Ipkg :: runIpkg( ) cmd += "ipkg"; - if ( option != "update" && option != "download" ) + if ( option != "update" && option != "download" && option != "upgrade" ) { cmd += " -dest "+ destination; @@ -98,5 +98,8 @@ bool Ipkg :: runIpkg( ) #endif - cmd += " " + option + " " + package + " 2>&1"; + cmd += " " + option; + if ( option != "upgrade" ) + cmd += " " + package; + cmd += " 2>&1"; qApp->processEvents(); @@ -119,4 +122,5 @@ bool Ipkg :: runIpkg( ) dependantPackages = new QList<QString>; dependantPackages->setAutoDelete( true ); + ret = executeIpkgCommand( cmd, option ); |