summaryrefslogtreecommitdiff
path: root/dh_installinfo
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installinfo')
-rwxr-xr-xdh_installinfo1
1 files changed, 1 insertions, 0 deletions
diff --git a/dh_installinfo b/dh_installinfo
index 55deb362..fe03433b 100755
--- a/dh_installinfo
+++ b/dh_installinfo
@@ -48,6 +48,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
my $fn="/usr/share/info/".Dh_Lib::basename($file);
if ($section ne '') {
+ $section=~s:/:\\/:g; # allow / in section.
autoscript($PACKAGE,"postinst","postinst-info",
"s/#SECTION#/$section/g;s:#FILE#:$fn:");
}