Skip to content
Commit fb8997a4 authored by Guillem Jover's avatar Guillem Jover
Browse files

dpkg: Always reset want status when installing a package

Move pkg_set_want() call from wanttoinstall() to the call site in
process_archive(), so that the status-want change affects all ‘true’
return values and not just on “selecting previously unselected package”.

This also makes wanttoinstall() a function that just performs a decision
without acting on it, matching its name.

Closes: #162541
parent f8d3fee9
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