lib: Don't list updates from disabled remotes

This commit is contained in:
Alexander Larsson committed 2016-10-21 08:46:57 +02:00
1 parent daa2d79fd1
commit 0695712152
1 file changed
+3
+3
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),