summaryrefslogtreecommitdiff
path: root/dh_installcatalogs
diff options
context:
space:
mode:
authorjoeyh <joeyh>2006-04-27 16:09:48 +0000
committerjoeyh <joeyh>2006-04-27 16:09:48 +0000
commit71e1fcd2b80e45cedcf10a9ccf572fad6430fc40 (patch)
treebdc125ac765498120766ad518a627d3f594f0550 /dh_installcatalogs
parent5f25cefd9258455e5c0531152266629e2c0a9467 (diff)
downloaddebhelper-71e1fcd2b80e45cedcf10a9ccf572fad6430fc40.tar.gz
r1914: * dh_installcatalogs: Make sure that /etc/sgml exists. Closes: #3649465.0.34
Diffstat (limited to 'dh_installcatalogs')
-rwxr-xr-xdh_installcatalogs4
1 files changed, 4 insertions, 0 deletions
diff --git a/dh_installcatalogs b/dh_installcatalogs
index 6bd42273..bbe4bcf4 100755
--- a/dh_installcatalogs
+++ b/dh_installcatalogs
@@ -85,6 +85,10 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
if (@sgmlinstalled) {
addsubstvar($package, "misc:Depends", "sgml-base", ">= $sgmlbasever");
+ if (! -d "$tmpdir/etc/sgml") {
+ doit("install","-d","-m755","$tmpdir/etc/sgml");
+ }
+
if (! $dh{NOSCRIPTS}) {
my $ordcats = join(" ", @sgmlinstalled);
my $centralcat = "/etc/sgml/$package.cat";