summaryrefslogtreecommitdiff
path: root/dh_installudev
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_installudev
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_installudev')
-rwxr-xr-xdh_installudev4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_installudev b/dh_installudev
index 94bfade0..09399558 100755
--- a/dh_installudev
+++ b/dh_installudev
@@ -98,10 +98,10 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
if ($rules_file) {
if (! -e "$tmp/lib/udev/rules.d") {
- doit("install","-d","$tmp/lib/udev/rules.d");
+ install_dir("$tmp/lib/udev/rules.d");
}
my $rule="/lib/udev/rules.d/$dh{PRIORITY}$filename";
- doit("install","-m","0644",$rules_file,$tmp.$rule);
+ install_file($rules_file, "${tmp}${rule}");
if (! $dh{NOSCRIPTS}) {
# Remove old rule from /etc, unless it's modified,
# in which case we rename it to match the new