diff options
author | Niels Thykier <niels@thykier.net> | 2016-10-02 20:41:26 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2016-10-02 20:41:26 +0000 |
commit | 580bc09d41ddc8542515f50d40ff8c8477711d3d (patch) | |
tree | 7d7a119f256da70068de3280e3657e5b2f616c96 /dh_installman | |
parent | f1757dd5d915e567d2cd1f09e3811c2673ad1867 (diff) | |
download | debhelper-580bc09d41ddc8542515f50d40ff8c8477711d3d.tar.gz |
Dh_Lib: Add a reset_perm_and_owner function
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_installman')
-rwxr-xr-x | dh_installman | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installman b/dh_installman index 78faf13e..bbea82e8 100755 --- a/dh_installman +++ b/dh_installman @@ -210,7 +210,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { complex_doit "man --recode UTF-8 ./\Q$orig\E > \Q$tmp\E"; # recode uncompresses compressed pages doit "rm", "-f", $orig if s/\.(gz|Z)$//; - doit "chmod", 644, $tmp; + reset_perm_and_owner('0755' $tmp); doit "mv", "-f", $tmp, $_; }, "$tmp/$dir"); } |