core: unpack: Regenerate pack index after unpacking

This commit is contained in:
Colin Walters committed 2012-04-11 19:54:30 -04:00
1 parent d63ec5c2ff
commit 6542b8f5c9
1 file changed
+3
+3
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)