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:
Chris Williams 2025-01-13 00:15:40 -05:00 committed by bbhtt
parent 7127ef00d0
commit f98c5d1bc4

View File

@ -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;
}