]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_gconf
r1703: * dh_cgonf: deal with problems if /etc/gconf/schemas doesn't exist any...
[debhelper.git] / dh_gconf
index 769dfa755ac67fd414074612c5a1f3b819b4bb55..33d83947e82d353de248f6636195ac9bb5fee9f0 100755 (executable)
--- a/dh_gconf
+++ b/dh_gconf
@@ -40,7 +40,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        if (-d $old_schemas_dir) {
                doit("mkdir -p $new_schemas_dir") unless -d $new_schemas_dir;
                doit("mv $old_schemas_dir/*.schemas $new_schemas_dir/");
-               doit("rmdir --ignore-fail-on-non-empty $old_schemas_dir");
+               doit("rmdir -p --ignore-fail-on-non-empty $old_schemas_dir");
        }
 
        if (-d "$new_schemas_dir") {