[gnome-software/gnome-3-22] trivial: Check the right thing to fix installing .flatpak bundles
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-22] trivial: Check the right thing to fix installing .flatpak bundles
- Date: Tue, 7 Mar 2017 16:31:53 +0000 (UTC)
commit c10ac2da98a4e1f4e4155b671aea12037e23ed5e
Author: Richard Hughes <richard hughsie com>
Date: Thu Feb 9 14:52:59 2017 +0000
trivial: Check the right thing to fix installing .flatpak bundles
src/plugins/gs-flatpak.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index 1158fc8..3a305a2 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -2148,12 +2148,11 @@ gs_flatpak_app_install (GsFlatpak *self,
return FALSE;
if (g_strcmp0 (gs_app_get_flatpak_file_type (app), "flatpak") == 0) {
- /* no local_file set */
- if (gs_app_get_origin (app) == NULL) {
+ if (gs_app_get_local_file (app) == NULL) {
g_set_error (error,
GS_PLUGIN_ERROR,
GS_PLUGIN_ERROR_NOT_SUPPORTED,
- "no local_file set for %s",
+ "no local file set for bundle %s",
gs_app_get_unique_id (app));
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]