From: Joey Hess Date: Thu, 12 Nov 2009 18:11:38 +0000 (-0500) Subject: Adjust code to add deprecation warning for compatability level 4. (Man page already... X-Git-Tag: 7.4.4~15 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ded6ce59e1ba8fb00122297948e8589001b96909;p=debhelper.git Adjust code to add deprecation warning for compatability level 4. (Man page already said it was deprecated.) Closes: #555899 --- diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index 8af365f..960f272 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; } diff --git a/debian/changelog b/debian/changelog index b9debf4..495132e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,8 @@ debhelper (7.4.4) UNRELEASED; urgency=low time soon.) Closes: #554509 * Drop deprecated programs from the list of commands in debhelper(7). Closes: #548382 + * Adjust code to add deprecation warning for compatability level 4. + (Man page already said it was deprecated.) Closes: #555899 -- Joey Hess Wed, 28 Oct 2009 18:10:45 -0400