diff options
author | joeyh <joeyh> | 2006-04-27 16:09:48 +0000 |
---|---|---|
committer | joeyh <joeyh> | 2006-04-27 16:09:48 +0000 |
commit | 71e1fcd2b80e45cedcf10a9ccf572fad6430fc40 (patch) | |
tree | bdc125ac765498120766ad518a627d3f594f0550 /dh_installcatalogs | |
parent | 5f25cefd9258455e5c0531152266629e2c0a9467 (diff) | |
download | debhelper-71e1fcd2b80e45cedcf10a9ccf572fad6430fc40.tar.gz |
r1914: * dh_installcatalogs: Make sure that /etc/sgml exists. Closes: #3649465.0.34
Diffstat (limited to 'dh_installcatalogs')
-rwxr-xr-x | dh_installcatalogs | 4 |
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"; |