lib: Don't list updates from disabled remotes

tingping/wmclass
Alexander Larsson 2016-10-21 08:46:57 +02:00
parent daa2d79fd1
commit 0695712152
1 changed files with 3 additions and 0 deletions

View File

@ -638,6 +638,9 @@ flatpak_installation_list_installed_refs_for_update (FlatpakInstallation *self,
g_autoptr(GPtrArray) refs = NULL;
g_autoptr(GError) local_error = NULL;
if (flatpak_remote_get_disabled (remote))
continue;
/* We ignore errors here. we don't want one remote to fail us */
refs = flatpak_installation_list_remote_refs_sync (self,
flatpak_remote_get_name (remote),