mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-05 22:49:37 -04:00
Use systemwide config also when running as root
We want to look for remotes in /etc/flatpak also when not using the system helper Closes: #1195 Approved by: alexlarsson
This commit is contained in:
committed by
Atomic Bot
parent
9eedc60cd2
commit
2c41aa5203
@@ -1566,7 +1566,7 @@ flatpak_dir_ensure_repo (FlatpakDir *self,
|
||||
repodir = g_file_get_child (self->basedir, "repo");
|
||||
if (self->no_system_helper || self->user || getuid () == 0)
|
||||
{
|
||||
repo = ostree_repo_new (repodir);
|
||||
repo = system_ostree_repo_new (repodir);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user