summaryrefslogtreecommitdiff
path: root/dh_installdeb
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_installdeb
parentb3a5ce21460e782a772d35bd74ea9f50a856ab9e (diff)
Migrate some calls to use the new install_X subs
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_installdeb')
-rwxr-xr-xdh_installdeb7
1 files changed, 3 insertions, 4 deletions
diff --git a/dh_installdeb b/dh_installdeb
index 2e4746d0..02961ad0 100755
--- a/dh_installdeb
+++ b/dh_installdeb
@@ -77,7 +77,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
if (! -d "$tmp/DEBIAN") {
- doit("install","-o",0,"-g",0,"-d","$tmp/DEBIAN");
+ install_dir("$tmp/DEBIAN");
}
if (is_udeb($package)) {
@@ -86,8 +86,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
foreach my $script (qw{postinst menutest isinstallable}) {
my $f=pkgfile($package,$script);
if ($f) {
- doit("install", "-o", 0, "-g", 0, "-m", 755,
- $f, "$tmp/DEBIAN/$script");
+ install_prog($f, "$tmp/DEBIAN/$script");
}
}
@@ -121,7 +120,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
foreach my $file (qw{shlibs conffiles triggers}) {
my $f=pkgfile($package,$file);
if ($f) {
- doit("install","-o",0,"-g",0,"-m",644,"-p",$f,"$tmp/DEBIAN/$file");
+ install_file($f, "$tmp/DEBIAN/$file");
}
}