mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-15 04:11:41 +00:00
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.
This commit is contained in:
parent
1b50d960f2
commit
d4bdfd6883
@ -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 |
|
||||
|
Loading…
Reference in New Issue
Block a user