diff options
Diffstat (limited to 'bpkg/pkg-drop.cxx')
-rw-r--r-- | bpkg/pkg-drop.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
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); |