Re: debian-policy: Perl script shebang requirement is disturbing and inconsistent with rest of policy
Hi Russ,
Russ Allbery wrote:
> I'm looking for seconds for this patch to relax the current requirement
> back to a should.
[...]
> --- a/perl-policy.xml
> +++ b/perl-policy.xml
> @@ -533,7 +533,7 @@ $(MAKE) OPTIMIZE="-O2 -g -Wall"</screen>
> <title>Script Magic</title>
>
> <para>
> - All packaged perl programs must start with
> + All packaged perl programs should start with
> <literal>#!/usr/bin/perl</literal> and may append such flags as
> are required.
> </para>
> diff --git a/policy/ch-files.rst b/policy/ch-files.rst
> index f31a3b4..bc87573 100644
> --- a/policy/ch-files.rst
> +++ b/policy/ch-files.rst
> @@ -186,7 +186,7 @@ All command scripts, including the package maintainer scripts inside the
> package and used by ``dpkg``, should have a ``#!`` line naming the shell
> to be used to interpret them.
>
> -In the case of Perl scripts this must be ``#!/usr/bin/perl``.
> +In the case of Perl scripts this should be ``#!/usr/bin/perl``.
>
> When scripts are installed into a directory in the system PATH, the
> script name should not include an extension such as ``.sh`` or ``.pl``
Seconded.
Thanks,
Jonathan
Reply to: