summaryrefslogtreecommitdiff
path: root/dh_gconf
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2015-01-08 20:20:13 +0100
committerNiels Thykier <niels@thykier.net>2015-01-08 20:45:46 +0100
commit16e72623aef639ae4fb67cf4a365adc10dd6865c (patch)
treec56754c7ac54639739a3c953f8021136c0ef4d6e /dh_gconf
parenta660d37676fd2a1d06fe9e7f6570e9253a7ce7cd (diff)
downloaddebhelper-16e72623aef639ae4fb67cf4a365adc10dd6865c.tar.gz
Replace more doit('install' ...) calls to install_X
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_gconf')
-rwxr-xr-xdh_gconf5
1 files changed, 3 insertions, 2 deletions
diff --git a/dh_gconf b/dh_gconf
index 7b099da3..0e13057d 100755
--- a/dh_gconf
+++ b/dh_gconf
@@ -65,8 +65,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my $mandatory = pkgfile($package, "gconf-mandatory");
if ($mandatory ne '') {
- doit("mkdir","-p","$tmp/usr/share/gconf/mandatory");
- doit("install","-p","-m644",$mandatory,"$tmp/usr/share/gconf/mandatory/${priority}_$package");
+ install_dir("$tmp/usr/share/gconf/mandatory");
+ install_file($mandatory,
+ "$tmp/usr/share/gconf/mandatory/${priority}_$package");
}
my $defaults = pkgfile($package,"gconf-defaults");
if ($defaults ne '') {