forked from Mirrors/flatpak-builder
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
parent
11943e7e40
commit
b5c6140c58
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue