summaryrefslogtreecommitdiff
path: root/dh_installppp
diff options
context:
space:
mode:
authorMartin Koeppe <mkoeppe@gmx.de>2015-01-08 17:41:10 +0100
committerNiels Thykier <niels@thykier.net>2015-01-08 20:45:45 +0100
commit0bf56fc00831503055e561f317bee183242f23fa (patch)
tree66b8f8dca63583f087354f6edf6073e8109baf5d /dh_installppp
parentb3a5ce21460e782a772d35bd74ea9f50a856ab9e (diff)
downloaddebhelper-0bf56fc00831503055e561f317bee183242f23fa.tar.gz
Migrate some calls to use the new install_X subs
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_installppp')
-rwxr-xr-xdh_installppp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_installppp b/dh_installppp
index 44ad892b..82735c46 100755
--- a/dh_installppp
+++ b/dh_installppp
@@ -57,9 +57,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my $file=pkgfile($package, "ppp.ip-$script");
if ($file ne '') {
if (! -d "$tmp/etc/ppp/ip-$script.d") {
- doit("install","-d","$tmp/etc/ppp/ip-$script.d");
+ install_dir("$tmp/etc/ppp/ip-$script.d");
}
- doit("install","-p","-m755",$file,"$tmp/etc/ppp/ip-$script.d/".pkgfilename($package));
+ install_prog($file,"$tmp/etc/ppp/ip-$script.d/".pkgfilename($package));
}
}
}