summaryrefslogtreecommitdiff
path: root/dh_installdebconf
diff options
context:
space:
mode:
authorjoeyh <joeyh>2006-03-15 21:12:51 +0000
committerjoeyh <joeyh>2006-03-15 21:12:51 +0000
commit104c724c4ac5172367bea345e5b500ce45dcf0cf (patch)
treed1651ce04aacf43a2629ddea323663ff3d172ac3 /dh_installdebconf
parent5b3da8f1752c6123c3a253821555fb50aee4deab (diff)
r1885: * dh_installdebconf: For udebs, misc:Depends will now contain cdebconf-udeb.
Diffstat (limited to 'dh_installdebconf')
-rwxr-xr-xdh_installdebconf4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_installdebconf b/dh_installdebconf
index b1a2345..c25a779 100755
--- a/dh_installdebconf
+++ b/dh_installdebconf
@@ -100,8 +100,8 @@ 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";
+ # "modern" one. udebs just need cdebconf.
+ my $debconfdep=is_udeb($package) ? "cdebconf-udeb" : "debconf (>= 0.5) | debconf-2.0";
if ($config ne '' || $templates ne '') {
addsubstvar($package, "misc:Depends", $debconfdep);
}