[gnome-software/wip/kalev/gnome-3-22: 88/96] trivial: Rescan the AppStream store when remotes have been removed



commit c5658fcf3edbcff2429dbd14452722791c4f846e
Author: Richard Hughes <richard hughsie com>
Date:   Fri Feb 24 20:00:53 2017 +0000

    trivial: Rescan the AppStream store when remotes have been removed

 src/plugins/gs-flatpak.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index 31e4c65..d51a566 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -2093,6 +2093,8 @@ gs_flatpak_app_remove (GsFlatpak *self,
                        gs_app_set_state_recover (app);
                        return FALSE;
                }
+               if (!gs_flatpak_rescan_appstream_store (self, cancellable, error))
+                       return FALSE;
        }
 
        /* state is not known: we don't know if we can re-install this app */


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