summaryrefslogtreecommitdiff
path: root/dh_installinfo
diff options
context:
space:
mode:
authorjoey <joey>1999-09-06 23:35:56 +0000
committerjoey <joey>1999-09-06 23:35:56 +0000
commit7c22a1819a669b43bf20f9ab3d744daec4aca377 (patch)
tree4f93607def58cc50ad9591ef638ef95d25a72e97 /dh_installinfo
parent94373db404c60078e2275ba43bc84b348f27d1a5 (diff)
r268: * dh_installinfo: failed pretty miserably if the info file's section
contained '/' characters. Doesn't now.
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 55deb36..fe03433 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:");
}