-rw-r--r-- | noncore/unsupported/oipkg/packagelist.cpp | 2 | ||||
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.cpp | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/noncore/unsupported/oipkg/packagelist.cpp b/noncore/unsupported/oipkg/packagelist.cpp index f6c4c37..844f43f 100644 --- a/noncore/unsupported/oipkg/packagelist.cpp +++ b/noncore/unsupported/oipkg/packagelist.cpp @@ -70,3 +70,3 @@ void PackageList::insertPackage( Package* pack ) } - pack->setName( pack->name()+"["+pack->version()+"]" ); + pack->setName( pack->name() );//+"["+pack->version()+"]" ); pack->setOtherVersions( packver ); diff --git a/noncore/unsupported/oipkg/pmipkg.cpp b/noncore/unsupported/oipkg/pmipkg.cpp index 2ed86ee..bffad15 100644 --- a/noncore/unsupported/oipkg/pmipkg.cpp +++ b/noncore/unsupported/oipkg/pmipkg.cpp @@ -75,2 +75,4 @@ bool PmIpkg::runIpkg(const QString& args, const QString& dest ) pvDebug( 3,"PmIpkg::runIpkg got dest="+dest); + if (!args.contains("update")) + { if ( dest == "" ) @@ -91,4 +93,6 @@ bool PmIpkg::runIpkg(const QString& args, const QString& dest ) } + } //!args.contains("update") out( "Starting to "+ args+"\n"); + qApp->processEvents(); cmd += args; @@ -435,5 +439,3 @@ void PmIpkg::update() show(); - if ( runIpkg( "update" ) ) - runwindow->close(); - else out("An error occurred!\nPlease check the log."); + runIpkg( "update" ); } |