From 6c99f719772806ba81a2748fed44098c4b91f28a Mon Sep 17 00:00:00 2001 From: Mikko Rantalainen Date: Thu, 6 May 2010 11:26:35 +0300 Subject: Added lintian overrides to silent an invalid error and an invalid warning The lintian does not correctly detect the magic shell script that is a scala program in the same time. As a result, lintian will mark this script as invalid because sh -n reports a parse error. However, this is not a real parse error, because the script contains unconditional "exit" before the "error". The template contains default field for default password which should be translated. The field contains notes to translators as a comment but lintian would want to have an extra comment inside the string to translate. The note as a comment should be enough, make lintian silent about this. --- debian/source/lintian-overrides | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 debian/source/lintian-overrides (limited to 'debian') diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..31f525d --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,8 @@ +# The script infrastructure/ace/bin/serve is really a scala program +# but contains magic to make it as executable shell script (the couple first +# lines in the script will execute scala on itself): +etherpad source: shell-script-fails-syntax-check ./usr/share/etherpad/infrastructure/ace/bin/serve +etherpad binary: shell-script-fails-syntax-check ./usr/share/etherpad/infrastructure/ace/bin/serve +# The template already has a comment for the default field, lintian would +# want to have an extra comment inside the string to translate, I don't agree: +etherpad source: translated-default-field templates: 4 -- cgit v1.2.3-1-g7c22