From 0695712152d05fd54afe9ef34807c8d9fe9fda4b Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 21 Oct 2016 08:46:57 +0200 Subject: [PATCH] lib: Don't list updates from disabled remotes --- lib/flatpak-installation.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/flatpak-installation.c b/lib/flatpak-installation.c index 0e473ced8..d685017be 100644 --- a/lib/flatpak-installation.c +++ b/lib/flatpak-installation.c @@ -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),