core: unpack: Regenerate pack index after unpacking

This commit is contained in:
Colin Walters 2012-04-11 19:53:10 -04:00
parent d63ec5c2ff
commit 6542b8f5c9
1 changed files with 3 additions and 0 deletions

View File

@ -275,6 +275,9 @@ ostree_builtin_unpack (int argc, char **argv, GFile *repo_path, GError **error)
g_print ("Deleted packfile '%s'\n", pack_checksum);
}
if (!ostree_repo_regenerate_pack_index (repo, cancellable, error))
goto out;
ret = TRUE;
out:
if (in_transaction)