mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-13 20:52:39 -04:00
system-helper: Correctly copy the system config when modifying a repo
We were accidentally using the passed in copy of the rest of the config when we should be using the one we read.
This commit is contained in:
@@ -4803,7 +4803,7 @@ flatpak_dir_modify_remote (FlatpakDir *self,
|
||||
g_key_file_set_value (new_config, group, keys[i], value);
|
||||
}
|
||||
|
||||
if (!ostree_repo_write_config (self->repo, config, error))
|
||||
if (!ostree_repo_write_config (self->repo, new_config, error))
|
||||
return FALSE;
|
||||
|
||||
if (gpg_data != NULL)
|
||||
|
||||
Reference in New Issue
Block a user