[gnome-software] trivial: Rescan the AppStream store when remotes have been removed



commit 85facaeddb064b892a86e7d1c2418ef691b3d53c
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 9041523..348be8c 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -2254,6 +2254,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]