mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 14:13:26 +00:00
update: Don't update appstream for non-enumerable remotes
That doesn't make any sense to do and is likely to get you errors. Closes: #1240 Approved by: alexlarsson
This commit is contained in:
parent
27fcf108fd
commit
5815d5e92c
@ -89,7 +89,8 @@ update_appstream (FlatpakDir *dir, const char *remote, GCancellable *cancellable
|
||||
g_autoptr(GError) local_error = NULL;
|
||||
FlatpakTerminalProgress terminal_progress = { 0 };
|
||||
|
||||
if (flatpak_dir_get_remote_disabled (dir, remotes[i]))
|
||||
if (flatpak_dir_get_remote_disabled (dir, remotes[i]) ||
|
||||
flatpak_dir_get_remote_noenumerate (dir, remotes[i]))
|
||||
continue;
|
||||
|
||||
g_print (_("Updating appstream for remote %s\n"), remotes[i]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user