diff options
author | Matthias Clasen <mclasen@redhat.com> | 2018-10-06 00:32:36 -0400 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2018-10-12 10:07:32 +0200 |
commit | 6c6a0c251e914b60236fc86f0006c826a8894987 (patch) | |
tree | 5a823c101d6711b532bd253908e7969264b2527a | |
parent | f1c6a6bfe8e839aeaf0d3f578dc1d4a9baef3e08 (diff) | |
download | flatpak-6c6a0c251e914b60236fc86f0006c826a8894987.tar.gz |
remote: Save nodeps
flatpak_installation_modify_remote was not saving the nodeps
state. Found while writing FlatpakTransaction tests.
Closes: #2198
Approved by: alexlarsson
(cherry picked from commit de56d3410460d9e363ed931d13acdcdec16d8397)
-rw-r--r-- | common/flatpak-remote.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/flatpak-remote.c b/common/flatpak-remote.c index 9d18f35b..a2d36cf2 100644 --- a/common/flatpak-remote.c +++ b/common/flatpak-remote.c @@ -860,6 +860,9 @@ flatpak_remote_commit (FlatpakRemote *self, if (priv->local_disabled_set) g_key_file_set_boolean (config, group, "xa.disable", priv->local_disabled); + if (priv->local_nodeps_set) + g_key_file_set_boolean (config, group, "xa.nodeps", priv->local_nodeps); + if (priv->local_prio_set) { g_autofree char *prio_as_string = g_strdup_printf ("%d", priv->local_prio); |