Merged purge code in remove, configurable transaction regpkgdb flushing.
See the NEWS file for info.
This commit is contained in:
@ -121,8 +121,7 @@ xbps_transaction_package_replace(prop_dictionary_t transd)
|
||||
* If new package is providing a virtual package to the
|
||||
* package that we want to replace we should respect
|
||||
* its requiredby and automatic-install objects, so copy
|
||||
* them to the pkg's dictionary in transaction. Also
|
||||
* make sure that replaced package is also purged.
|
||||
* them to the pkg's dictionary in transaction.
|
||||
*/
|
||||
if (xbps_match_virtual_pkg_in_dict(pkg_repod,
|
||||
pattern, true) ||
|
||||
@ -135,8 +134,6 @@ xbps_transaction_package_replace(prop_dictionary_t transd)
|
||||
}
|
||||
prop_dictionary_set_bool(pkg_repod,
|
||||
"automatic-install", instd_auto);
|
||||
prop_dictionary_set_bool(instd,
|
||||
"remove-and-purge", true);
|
||||
}
|
||||
/*
|
||||
* Add package dictionary into the transaction and mark
|
||||
|
Reference in New Issue
Block a user