From c6196464780fbdb1a2dbdda92061189395e5072e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 12 Mar 2018 19:22:42 +0300 Subject: Add support for --keep-out option --- bpkg/pkg-drop.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bpkg/pkg-drop.cxx') diff --git a/bpkg/pkg-drop.cxx b/bpkg/pkg-drop.cxx index 4309b2e..6e28c37 100644 --- a/bpkg/pkg-drop.cxx +++ b/bpkg/pkg-drop.cxx @@ -354,7 +354,10 @@ namespace bpkg // leave the configuration in a valid state. // transaction t (db.begin ()); - pkg_disfigure (c, o, t, p); // Commits the transaction. + + // Commits the transaction. + // + pkg_disfigure (c, o, t, p, true /* clean */); assert (p->state == package_state::unpacked || p->state == package_state::transient); -- cgit v1.1