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_installmodules | |
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_installmodules')
-rwxr-xr-x | dh_installmodules | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dh_installmodules b/dh_installmodules index ce94cdea..bdc8a24c 100755 --- a/dh_installmodules +++ b/dh_installmodules @@ -90,16 +90,16 @@ foreach my $package (@{$dh{DOPACKAGES}}) { my $modprobe_file=pkgfile($package,"modprobe"); if (! -e $tmp) { - doit("install","-d",$tmp); + install_dir($tmp); } if ($modprobe_file) { if (! -e "$tmp/etc/modprobe.d") { - doit("install","-d","$tmp/etc/modprobe.d"); + install_dir("$tmp/etc/modprobe.d"); } my $old="/etc/modprobe.d/".pkgfilename($package); my $new=$old.".conf"; - doit("install","-m","0644",$modprobe_file,"$tmp/$new"); + install_file($modprobe_file, "$tmp/$new"); autoscript($package,"preinst","preinst-moveconffile","s!#OLD#!$old!g;s!#PACKAGE#!$package!g"); autoscript($package,"postinst","postinst-moveconffile","s!#OLD#!$old!g;s!#NEW#!$new!g"); } |