aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/pkg-build.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx
index ca982a1..0ef2cc4 100644
--- a/bpkg/pkg-build.cxx
+++ b/bpkg/pkg-build.cxx
@@ -7857,7 +7857,7 @@ namespace bpkg
// For an external package being replaced with another external, keep
// the configuration unless requested not to with --disfigure.
//
- bool disfigure (p.disfigure || !external);
+ bool disfigure (!simulate && (p.disfigure || !external));
// If the skeleton was not initialized yet (this is an existing package
// reconfiguration and no configuration was printed as a part of the