update: Don't check for update short-circuit if we're not pulling

There is no need to do this, its just a waste of network bandwidth.
tingping/wmclass
Alexander Larsson 2017-03-28 19:25:11 +02:00
parent 11943e7e40
commit b5c6140c58
1 changed files with 1 additions and 1 deletions

View File

@ -4958,7 +4958,7 @@ flatpak_dir_update (FlatpakDir *self,
/* Quick check to terminate early if nothing changed in cached summary
(and subpaths didn't change) */
if (!is_local && deploy_data != NULL &&
if (!no_pull && !is_local && deploy_data != NULL &&
_g_strv_equal0 ((char **)subpaths, (char **)old_subpaths))
{
if (checksum_or_latest != NULL)