Subject: Bug#3464: kernel-source-2.0.0 maintainer scripts #!/usr/bin/perl

From: Ian Jackson <[email-masked]>, Stephen Early <[email-masked]>, Owen Dunn <[email-masked]>
Date: Mon, 1 Jul 96 15:05 BST

Package: kernel-source-2.0.0
Version: 2.0.0-0

This package has maintainer scripts starting
 #!/bin/perl

This should read
 #!/usr/bin/perl

(This bug was encountered during a test installation of 1.1 done by
the three of us.)

Ian.

---

From: Manoj Srivastava <[email-masked]>
Date: 01 Jul 1996 18:10:14 -0400

Hi,

	This should not be considered a bug, unless the guidelines are
 wrong! I'm quoting from the guidelines below, please let me know if
 I'm wrong, or else I'll close this bug tomorrow.

	manoj

-Info: (guidelines.info)Package Content, 205 lines --68%-- Subfile:guidelin

Installation and Removal Scripts
================================

   The scripts `preinst', `postinst', `prerm', and `postrm' are
optional (Bash or Perl) scripts.  As the names would indicate, if these
scripts exist, they will be executed before installing the package,
after installation, before package removal, and after removal,
respectively.

   If these scripts exist they should be left in the `DEBIAN' directory
with execute permission enabled and should contain an appropriate `#!'
line, such as `#!/bin/bash' for a `bash' script or `#!/bin/perl' for a
Perl script (see above).

Package Content
***************

   * In the case of Perl scripts this should be `#!/usr/bin/perl' or
     sometimes `#!/bin/perl', as follows: if the script is a critical
     one that may be called when the `/usr' partition is unmounted or
     broken it should use `/bin/perl'.  Otherwise (especially if the
     script is not specifically targetted at Debian) it should use
     Perl's standard location, `/usr/bin/perl'.

-- 
 Thoreau's Law: If you see a man approaching you with the obvious
 intent of doing you good, you should run for your life.
Manoj Srivastava               Systems Research Programmer, Project Pilgrim,
Phone: (413) 545-3918                A143B Lederle Graduate Research Center,
Fax:   (413) 545-1249         University of Massachusetts, Amherst, MA 01003
<[email-masked]> <URL:http://www.pilgrim.umass.edu/%7Esrivasta/>

---

From: Ian Jackson <[email-masked]>
Date: Tue, 9 Jul 96 20:00 BST

>  I'm wrong, or else I'll close this bug tomorrow.

The guidelines are wrong; I'll fix them.

When they were written it was thought that some scripts on / might
need Perl in /bin.

If I see that you've closed the report I'll reopen it.  I have to say
that allowing only one day for a reply seems entirely unreasonable to
me.

Ian.

---

From: Mark Eichin <[email-masked]>
Date: 11 Jul 1996 17:16:29 -0400

> When they were written it was thought that some scripts on / might

Can you forward the change to debian-devel? I might have to rerelease
autoconf to deal (it uses #!/bin/perl, because it finds it there.)

---

From: Ian Jackson <[email-masked]>
Date: Tue, 16 Jul 96 03:02 BST

> autoconf to deal (it uses #!/bin/perl, because it finds it there.)

Yes, you do need to, I'm afraid.

Ian.

--- ../dpkg-1.2.12/doc/guidelines.texi  Mon Jul  1 04:41:52 1996
+++ doc/guidelines.texi Tue Jul  9 20:01:19 1996
@@ -360,12 +360,7 @@
 used to interpret them.
 
 @item
-In the case of Perl scripts this should be @code{#!/usr/bin/perl} or
-sometimes @code{#!/bin/perl}, as follows: if the script is a critical
-one that may be called when the @file{/usr} partition is unmounted or
-broken it should use @file{/bin/perl}.  Otherwise (especially if the
-script is not specifically targetted at Debian) it should use Perl's
-standard location, @file{/usr/bin/perl}.
+In the case of Perl scripts this should be @code{#!/usr/bin/perl}.
 
 @item
 Generally the following compilation parameters should be used:
@@ -973,9 +968,8 @@
 
    If these scripts exist they should be left in the @file{DEBIAN}
 directory with execute permission enabled and should contain an
-appropriate @code{#!} line, such as @code{#!/bin/bash} for a
-@code{bash} script or @code{#!/bin/perl} for a Perl script (see
-above).
+appropriate @code{#!} line, such as @code{#!/bin/bash} for a @code{bash}
+script or @code{#!/usr/bin/perl} for a Perl script (see above).
 
 @node Dependencies and Conflicts, Package Classification Fields, Installation and Removal Scripts, Control Files
 @unnumberedsec Conflicts, Depends, Suggests, Recommends and Provides