summaryrefslogtreecommitdiff
path: root/Debian
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-11-12 13:11:38 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-11-12 13:11:38 -0500
commitded6ce59e1ba8fb00122297948e8589001b96909 (patch)
treea4bb1808165a0978bfb0297c22bbc84ae3400a89 /Debian
parent07e276d58e796d629e03c0a7d88793fe31262c6f (diff)
downloaddebhelper-ded6ce59e1ba8fb00122297948e8589001b96909.tar.gz
Adjust code to add deprecation warning for compatability level 4. (Man page already said it was deprecated.) Closes: #555899
Diffstat (limited to 'Debian')
-rw-r--r--Debian/Debhelper/Dh_Lib.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index 8af365ff..960f2721 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -313,7 +313,7 @@ sub dirname {
}
}
- if ($c < 4 && ! $warned_compat) {
+ if ($c <= 4 && ! $warned_compat) {
warning("Compatibility levels before 5 are deprecated.");
$warned_compat=1;
}