[gnome-software] trivial: Make ORIGIN_HOSTNAME imply ORIGIN
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Make ORIGIN_HOSTNAME imply ORIGIN
- Date: Fri, 8 Jul 2016 08:29:50 +0000 (UTC)
commit b342b49ebb36de9187c86593e7cf9eaf3732f5cf
Author: Richard Hughes <richard hughsie com>
Date: Thu Jul 7 10:09:05 2016 +0100
trivial: Make ORIGIN_HOSTNAME imply ORIGIN
src/gs-plugin-loader.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 520feb3..1eb66f6 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -297,6 +297,10 @@ gs_plugin_loader_run_refine_internal (GsPluginLoader *plugin_loader,
const gchar *function_name = "gs_plugin_refine";
gboolean ret = TRUE;
+ /* this implies the other */
+ if (flags & GS_PLUGIN_REFINE_FLAGS_REQUIRE_ORIGIN_HOSTNAME)
+ flags |= GS_PLUGIN_REFINE_FLAGS_REQUIRE_ORIGIN;
+
/* try to adopt each application with a plugin */
gs_plugin_loader_run_adopt (plugin_loader, list);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]