aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-06-23 21:15:17 +0000
committerMattia Rizzolo <mattia@mapreri.org>2015-06-23 21:15:17 +0000
commit0707127c8722d0f3e6ee44ca6ecb86c504a08f56 (patch)
tree07c070846240a56f8f798edfe191109c3deda102 /pbuilder-checkparams
parent44ebea06c3e5c0f2267e03d81d6b50384bdb4458 (diff)
downloadpbuilder-0707127c8722d0f3e6ee44ca6ecb86c504a08f56.tar
pbuilder-0707127c8722d0f3e6ee44ca6ecb86c504a08f56.tar.gz
Deprecate the PKGNAME_LOGFILE_EXTENTION conf entry in favour of PKGNAME_LOGFILE_EXTENSION to fix the typo
Closes: #693458
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams6
1 files changed, 6 insertions, 0 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index 3cdc48e..07534ba 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -138,6 +138,12 @@ while [ -n "$1" ]; do
exit 1
fi
. "$2";
+ # 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
EXTRA_CONFIGFILE[${#EXTRA_CONFIGFILE[@]}]="$2";
shift; shift;
;;