[gnome-software/gnome-3-22] Fix searching for application installed as flatpakrefs
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-22] Fix searching for application installed as flatpakrefs
- Date: Tue, 14 Mar 2017 10:27:39 +0000 (UTC)
commit 7a18b1fed55ca7e60d6ba3141a9fb27cbe3ee541
Author: Richard Hughes <richard hughsie com>
Date: Wed Mar 8 15:30:59 2017 +0000
Fix searching for application installed as flatpakrefs
Update the appstream branch of the correct GsFlatpak when the install has
completed as the temporary object will not return results.
src/plugins/gs-flatpak.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index d9efbee..a3a6827 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -2508,6 +2508,10 @@ gs_flatpak_app_install (GsFlatpak *self,
gs_app_set_state_recover (app);
return FALSE;
}
+
+ /* update search tokens for new remote */
+ if (!gs_flatpak_refresh_appstream (self, G_MAXUINT, 0, cancellable, error))
+ return FALSE;
}
/* install required runtime if not already installed */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]