From d4bdfd6883b8e6ff2e25b0059908311a8d30166b Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 2 Jun 2017 12:25:52 +0100 Subject: [PATCH] Do not copy the origin from the new metadata file If the system has multiple remotes enabled then simply setting the origin to the 'last-updated' source is confusing. --- src/fu-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fu-main.c b/src/fu-main.c index 7d22fe3e7..98dece8c9 100644 --- a/src/fu-main.c +++ b/src/fu-main.c @@ -1349,7 +1349,7 @@ fu_main_daemon_update_metadata (FuMainPrivate *priv, const gchar *remote_id, /* save the new file */ as_store_set_api_version (priv->store, 0.9); - as_store_set_origin (priv->store, as_store_get_origin (store)); + as_store_set_origin (priv->store, NULL); if (!as_store_to_file (priv->store, file, AS_NODE_TO_XML_FLAG_ADD_HEADER | AS_NODE_TO_XML_FLAG_FORMAT_MULTILINE |