[gnome-packagekit] Show the proper messages again when updates were installed



commit 6de7562b214bbb09167f1ad83b727127c4985ae4
Author: Matthias Klumpp <matthias tenstral net>
Date:   Thu Sep 29 00:27:39 2022 +0200

    Show the proper messages again when updates were installed
    
    Previously we unconditionally skipped a large amount of code for no
    reason unless the updates required a system restart.

 src/gpk-update-viewer.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index 88623b83..742b875a 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -442,8 +442,6 @@ gpk_update_viewer_update_packages_cb (PkTask *_task, GAsyncResult *res, gpointer
                gpk_update_viewer_check_restart ();
                gpk_update_viewer_quit ();
                goto out;
-       } else {
-               goto out;
        }
 
        /* show a new title */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]