core: unpack: Regenerate pack index after unpacking
This commit is contained in:
1 parent
d63ec5c2ff
commit
6542b8f5c9
1 file changed
+3
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user