summaryrefslogtreecommitdiff
path: root/dh_installdebconf
diff options
context:
space:
mode:
authorjoey <joey>2004-02-08 00:16:45 +0000
committerjoey <joey>2004-02-08 00:16:45 +0000
commitad3f34f9653fe848816f2af915b9cdd260fc4421 (patch)
tree4f52346513763d11d2a1bbec1aaa8dc73e5fa31e /dh_installdebconf
parent836d5a87e6d384b8490ba7f9dd5afec28944b5ab (diff)
r1653: * dh_strip: Add note to man page that the detached debugging symbols options
mean the package must build-depend on a new enough version of binutils. Closes: #231382 * dh_installdebconf: The debconf dependency has changed to include "| debconf-2.0". Closes: #230622
Diffstat (limited to 'dh_installdebconf')
-rwxr-xr-xdh_installdebconf9
1 files changed, 5 insertions, 4 deletions
diff --git a/dh_installdebconf b/dh_installdebconf
index c9c72b2..66dafd0 100755
--- a/dh_installdebconf
+++ b/dh_installdebconf
@@ -112,13 +112,14 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
}
+ # I'm going with debconf 0.5 because it was the first
+ # "modern" one.
+ my $debconfdep="debconf (>= 0.5) | debconf-2.0";
if ($config ne '' || $templates ne '') {
- # I'm going with debconf 0.5 because it was the first
- # "modern" one.
- addsubstvar($package, "misc:Depends", "debconf", ">= 0.5");
+ addsubstvar($package, "misc:Depends", $debconfdep);
}
else {
- addsubstvar($package, "misc:Depends", "debconf", ">= 0.5", 1); # remove
+ addsubstvar($package, "misc:Depends", $debconfdep, undef, 1); # remove
}
if (($config ne '' || $templates ne '') && ! $dh{NOSCRIPTS}) {