Diffstat (limited to 'noncore/unsupported/oipkg/pmipkg.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/pmipkg.cpp b/noncore/unsupported/oipkg/pmipkg.cpp index 30777c2..0fa4c61 100644 --- a/noncore/unsupported/oipkg/pmipkg.cpp +++ b/noncore/unsupported/oipkg/pmipkg.cpp @@ -340,8 +340,9 @@ void PmIpkg::removeLinks( const QString &dest ) void PmIpkg::update() { show(); - runIpkg( "update" ); + if ( runIpkg( "update" ) ) runwindow->close(); + else out("An error occurred!\nPlease check the log."); } void PmIpkg::out( QString o ) |