diff options
author | Niels Thykier <niels@thykier.net> | 2016-05-30 19:28:18 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2016-05-30 19:28:18 +0000 |
commit | 54323d4d4930ed4a746e28311e54e4328788dd1d (patch) | |
tree | e7404c0321718e14555324ed5abcdd7db882eb0a | |
parent | 6327cba8b3bed41643990541280431235d248908 (diff) | |
download | debhelper-54323d4d4930ed4a746e28311e54e4328788dd1d.tar.gz |
dh_gconf: Prefer install_dir instead of doit(mkdir)
Signed-off-by: Niels Thykier <niels@thykier.net>
-rwxr-xr-x | dh_gconf | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -72,7 +72,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { } my $defaults = pkgfile($package,"gconf-defaults"); if ($defaults ne '') { - doit("mkdir","-p","$tmp/usr/share/gconf/defaults"); + install_dir("$tmp/usr/share/gconf/defaults"); install_file($defaults, "$tmp/usr/share/gconf/defaults/${priority}_$package"); } @@ -81,7 +81,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { # Migrate schemas from /etc/gconf/schemas to /usr/share/gconf/schemas if (-d $old_schemas_dir) { - doit("mkdir","-p",$new_schemas_dir) unless -d $new_schemas_dir; + install_dir($new_schemas_dir) unless -d $new_schemas_dir; complex_doit("mv $old_schemas_dir/*.schemas $new_schemas_dir/"); doit("rmdir","-p","--ignore-fail-on-non-empty",$old_schemas_dir); } |