summaryrefslogtreecommitdiff
path: root/dh_installdeb
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2015-11-21 01:37:24 +0100
committerNiels Thykier <niels@thykier.net>2015-11-21 01:37:24 +0100
commit8994b09c30cf32a5c1e84d6d94a548ad8b5de089 (patch)
tree072b1c2ad1308c959a32b91bd3b3a7a88c988896 /dh_installdeb
parent118a68607d3e068a26bac3f506938d308c658fa8 (diff)
downloaddebhelper-8994b09c30cf32a5c1e84d6d94a548ad8b5de089.tar.gz
Remove some compat(2) guards
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_installdeb')
-rwxr-xr-xdh_installdeb2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installdeb b/dh_installdeb
index 591669e9..70bb1e6e 100755
--- a/dh_installdeb
+++ b/dh_installdeb
@@ -135,7 +135,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# Automatic conffiles registration: If it is in /etc, it is a
# conffile.
- if (! compat(2) && -d "$tmp/etc") {
+ if ( -d "$tmp/etc") {
complex_doit("find $tmp/etc -type f -printf '/etc/%P\n' | LC_ALL=C sort >> $tmp/DEBIAN/conffiles");
# Anything found?
if (-z "$tmp/DEBIAN/conffiles") {