mirror of
https://github.com/flatpak/flatpak.git
synced 2026-07-08 07:07:35 -04:00
This tries to ensure that FlatpakDir->repo is set, but if the repo doesn't exists and we're unable to create it that is fine and we continue running with repo == NULL. This is useful because there are only a few operations that really are useful/make sense with no repo set up, and we can ensure these handle this well. In particular, we want to allow flatpak remote-add using the system-helper to work even if /var/lib/flatpak doesn't exist, so that we can bootstrap a working flathub from a fresh /var. Closes: #1195 Approved by: alexlarsson