aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-loadconfig
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-loadconfig
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-loadconfig')
-rw-r--r--pbuilder-loadconfig7
1 files changed, 7 insertions, 0 deletions
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
+