Update summary after generating deltas

Because deltas are in the summary.
This commit is contained in:
Alexander Larsson committed 2016-03-15 22:40:33 +01:00
1 parent 45a8b97542
commit 08826258ec
1 file changed
+4 -4
+4 -4
View File
@@ -90,10 +90,6 @@ xdg_app_builtin_build_update_repo (int argc, char **argv,
}
}
g_print ("Updating summary\n");
if (!xdg_app_repo_update (repo, (const char **)opt_gpg_key_ids, opt_gpg_homedir, cancellable, error))
return FALSE;
if (opt_generate_deltas)
{
g_autoptr(GHashTable) all_refs = NULL;
@@ -184,6 +180,10 @@ xdg_app_builtin_build_update_repo (int argc, char **argv,
}
}
g_print ("Updating summary\n");
if (!xdg_app_repo_update (repo, (const char **)opt_gpg_key_ids, opt_gpg_homedir, cancellable, error))
return FALSE;
if (opt_prune)
{
gint n_objects_total;