From 0707127c8722d0f3e6ee44ca6ecb86c504a08f56 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Tue, 23 Jun 2015 21:15:17 +0000 Subject: Deprecate the PKGNAME_LOGFILE_EXTENTION conf entry in favour of PKGNAME_LOGFILE_EXTENSION to fix the typo Closes: #693458 --- pbuilder-loadconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pbuilder-loadconfig') diff --git a/pbuilder-loadconfig b/pbuilder-loadconfig index 67e7a61..6738021 100644 --- a/pbuilder-loadconfig +++ b/pbuilder-loadconfig @@ -30,4 +30,11 @@ for RCFILE in \ # log() is not available echo "W: $RCFILE does not exist" >&2 fi + # deprecated in v0.216 + if [ -n "$PKGNAME_LOGFILE_EXTENTION" ] ; then + echo "W: The configuration option PKGNAME_LOGFILE_EXTENTION is deprecated in favour of PKGNAME_LOGFILE_EXTENSION. Though, while you have the former set it'll take precedence over the latter." + echo "W: PKGNAME_LOGFILE_EXTENTION will be removed at some point, please update your config!" + PKGNAME_LOGFILE_EXTENSION="$PKGNAME_LOGFILE_EXTENTION" + fi done + -- cgit v1.2.3