From 7c22a1819a669b43bf20f9ab3d744daec4aca377 Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 6 Sep 1999 23:35:56 +0000 Subject: r268: * dh_installinfo: failed pretty miserably if the info file's section contained '/' characters. Doesn't now. --- dh_installinfo | 1 + 1 file changed, 1 insertion(+) (limited to 'dh_installinfo') 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:"); } -- cgit v1.2.3