summaryrefslogtreecommitdiff
path: root/dh_installdeb
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2021-09-23 16:07:11 +0000
committerNiels Thykier <niels@thykier.net>2021-09-23 16:16:17 +0000
commit7420094cc163c24fe2ee9b98beb736b8a30c7ff5 (patch)
tree876d9cd8866194a01ec756256d5969e0da1890ea /dh_installdeb
parent72a9efbdd2cc6e7e7201e4659e6571f94e170319 (diff)
dh_installdeb: Disable `rm_conffile` -> `remove-on-upgrade` for now
We keep the docs saying that `dh_installdeb` may do it when it is safe to do. At the moment, we just do not have any safe cases to apply this optimization in. Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_installdeb')
-rwxr-xr-xdh_installdeb2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installdeb b/dh_installdeb
index e15799cc..e8403891 100755
--- a/dh_installdeb
+++ b/dh_installdeb
@@ -285,7 +285,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
if (my $validator = $maintscript_validator{$cmd}) {
$validator->($package, @{$line});
}
- if ($cmd eq 'rm_conffile') {
+ if (0) { # Disabled for now: #994919 + #994903
my $current_conffile = $line->[1];
push(@special_conffiles_entries, "remove-on-upgrade ${current_conffile}");
addsubstvar($package, "misc:Pre-Depends", "dpkg (>= 1.20.6~)");