summaryrefslogtreecommitdiff
path: root/dh_installinfo
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installinfo')
-rwxr-xr-xdh_installinfo5
1 files changed, 2 insertions, 3 deletions
diff --git a/dh_installinfo b/dh_installinfo
index fe03433b..3e642095 100755
--- a/dh_installinfo
+++ b/dh_installinfo
@@ -3,8 +3,7 @@
# Reads debian/info, installs all files listed there into /usr/share/info
# and puts appropriate commands into the postinst.
-BEGIN { push @INC, "debian", "/usr/share/debhelper" }
-use Dh_Lib;
+use Debian::Debhelper::Dh_Lib;
init();
foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
@@ -45,7 +44,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
}
close IN;
- my $fn="/usr/share/info/".Dh_Lib::basename($file);
+ my $fn="/usr/share/info/".Debian::Debhelper::Dh_Lib::basename($file);
if ($section ne '') {
$section=~s:/:\\/:g; # allow / in section.