mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-02 18:35:42 -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:
1 parent
1d185f7dd6
commit
cbe35fedbc
1 file changed
+1
-1
@@ -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