Verified Commit 75e168ef authored by Karel Koci's avatar Karel Koci 🤘
Browse files

lib/lua/transaction: fix previous commit

parent b85324a2
Pipeline #71279 passed with stages
in 6 minutes and 22 seconds
......@@ -190,6 +190,7 @@ local function pkg_move(status, plan, early_remove, errors_collected)
for _, path in pairs(utils.multi_index(status, op.control.Package, 'ChangedFiles') or {}) do
backend.user_path_move(path, true)
backend.pkg_merge_files(op.dir .. "/data", op.dirs, op.files, op.old_configs)
status[op.control.Package] = op.control
backend.pkg_update_alternatives(status, op.control.Package)
elseif op.op == "remove" and utils.arr2set(utils.multi_index(status,, 'Status') or {})['installed'] then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment