From 08826258ecbaa7232f4870428e7d89315f28bae2 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 15 Mar 2016 22:40:33 +0100 Subject: [PATCH] Update summary after generating deltas Because deltas are in the summary. --- app/xdg-app-builtins-repo-update.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/xdg-app-builtins-repo-update.c b/app/xdg-app-builtins-repo-update.c index f64513c45..4b17b22b3 100644 --- a/app/xdg-app-builtins-repo-update.c +++ b/app/xdg-app-builtins-repo-update.c @@ -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;