diff options
author | Martin Koeppe <mkoeppe@gmx.de> | 2015-01-08 17:41:10 +0100 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2015-01-08 20:45:45 +0100 |
commit | 0bf56fc00831503055e561f317bee183242f23fa (patch) | |
tree | 66b8f8dca63583f087354f6edf6073e8109baf5d /dh_installifupdown | |
parent | b3a5ce21460e782a772d35bd74ea9f50a856ab9e (diff) | |
download | debhelper-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_installifupdown')
-rwxr-xr-x | dh_installifupdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dh_installifupdown b/dh_installifupdown index bcf7bd55..48e1c1af 100755 --- a/dh_installifupdown +++ b/dh_installifupdown @@ -56,14 +56,14 @@ init(); foreach my $package (@{$dh{DOPACKAGES}}) { my $tmp=tmpdir($package); - + foreach my $script (qw(pre-up up down post-down)) { my $file=pkgfile($package, "if-$script"); if ($file ne '') { if (! -d "$tmp/etc/network/if-$script.d") { - doit("install","-d","$tmp/etc/network/if-$script.d"); + install_dir("$tmp/etc/network/if-$script.d"); } - doit("install","-p","-m755",$file,"$tmp/etc/network/if-$script.d/".pkgfilename($package)); + install_prog($file,"$tmp/etc/network/if-$script.d/".pkgfilename($package)); } } } |