mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 14:13:26 +00:00
dir: Also reload repo configuration after setting via system helper
Without doing so, flatpak_dir_get_config() won't reflect changes made with flatpak_dir_set_config(). This fixes passing multiple patterns to `flatpak mask` for the system installation. Closes #5464 (cherry picked from commit a7ac4206c6042ac54c1c6a38a851d94ae6698c25)
This commit is contained in:
parent
7127ef00d0
commit
f98c5d1bc4
@ -4460,6 +4460,9 @@ flatpak_dir_set_config (FlatpakDir *self,
|
||||
NULL, error))
|
||||
return FALSE;
|
||||
|
||||
if (!_flatpak_dir_reload_config (self, NULL, error))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user