summaryrefslogtreecommitdiff
path: root/dh_fixperms
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2016-01-02 14:54:21 +0000
committerNiels Thykier <niels@thykier.net>2016-01-02 14:54:21 +0000
commita6cd397f6942867e5054ac7197cf47f4a1ca4998 (patch)
tree2fe729d78cdc2465646d4933e314836448562f59 /dh_fixperms
parent7fc4d39cdca9ac55a4a18d9baa27a34d66e51657 (diff)
downloaddebhelper-a6cd397f6942867e5054ac7197cf47f4a1ca4998.tar.gz
Drop support for compat level 3
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_fixperms')
-rwxr-xr-xdh_fixperms13
1 files changed, 5 insertions, 8 deletions
diff --git a/dh_fixperms b/dh_fixperms
index f4dd5bf9..214a0914 100755
--- a/dh_fixperms
+++ b/dh_fixperms
@@ -106,14 +106,11 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
"${find_options} -print0 2>/dev/null",
"| xargs -0r chmod 0644");
- # v4 and up
- if (! compat(3)) {
- # Programs in the bin and init.d dirs should be executable..
- for my $dir (qw{usr/bin bin usr/sbin sbin usr/games etc/init.d}) {
- if (-d "$tmp/$dir") {
- complex_doit("find $tmp/$dir -type f $find_options -print0 2>/dev/null",
- "| xargs -0r chmod a+x");
- }
+ # Programs in the bin and init.d dirs should be executable..
+ for my $dir (qw{usr/bin bin usr/sbin sbin usr/games etc/init.d}) {
+ if (-d "$tmp/$dir") {
+ complex_doit("find $tmp/$dir -type f $find_options -print0 2>/dev/null",
+ "| xargs -0r chmod a+x");
}
}