Your message dated 13 Aug 2001 18:40:54 +0200
with message-id <[EMAIL PROTECTED]>
and subject line htmlgen install script uses Python on path
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Jul 2001 04:10:48 +0000
>From [EMAIL PROTECTED] Sun Jul 22 23:10:48 2001
Return-path: <[EMAIL PROTECTED]>
Received: from lmail.actcom.co.il [::ffff:192.114.47.13] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 15OX3P-0003ZM-00; Sun, 22 Jul 2001 23:10:48 -0500
Received: from darjeeling (p40.j1.actcom.co.il [192.115.22.77])
        by lmail.actcom.co.il (8.11.2/8.11.2) with ESMTP id f6N4AYl14909
        for <[EMAIL PROTECTED]>; Mon, 23 Jul 2001 07:10:35 +0300
Received: from moshez by darjeeling with local (Exim 3.31 #1 (Debian))
        id 15OWz1-0005PC-00; Mon, 23 Jul 2001 07:06:15 +0300
From: Moshe Zadka <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: htmlgen install script uses Python on path
X-Reportbug-Version: 1.21
X-Mailer: reportbug 1.21
Date: Mon, 23 Jul 2001 07:06:15 +0300
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]

Package: htmlgen
Version: 2.2.2-4
Severity: normal

The htmlgen install script uses 

python /usr/lib/python$PV/compileall.py -q $i

Instead of 

/usr/bin/python /usr/lib/python$PV/compileall.py -q $i


-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux darjeeling 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages htmlgen depends on:
ii  python-base                   1.5.2-16   An interactive object-oriented scr


---------------------------------------
Received: (at 106259-done) by bugs.debian.org; 13 Aug 2001 17:14:26 +0000
>From [EMAIL PROTECTED] Mon Aug 13 12:14:26 2001
Return-path: <[EMAIL PROTECTED]>
Received: from jagor.srce.hr [161.53.2.130] (root)
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 15WLIH-0003Dx-00; Mon, 13 Aug 2001 12:14:25 -0500
Received: from om (asy20.cmu.carnet.hr [193.198.128.20])
        by jagor.srce.hr (8.9.3/8.9.3) with ESMTP id TAA11541
        for <[EMAIL PROTECTED]>; Mon, 13 Aug 2001 19:12:16 +0200 (MEST)
Received: from mvela by om with local (Exim 3.32 #1 (Debian))
        id 15WKlq-0006ju-00
        for <[EMAIL PROTECTED]>; Mon, 13 Aug 2001 18:40:54 +0200
From: Matej Vela <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: htmlgen install script uses Python on path
References: <[EMAIL PROTECTED]>
Date: 13 Aug 2001 18:40:54 +0200
In-Reply-To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Lines: 27
User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Matej Vela <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]

Moshe Zadka <[EMAIL PROTECTED]> writes:
> The htmlgen install script uses
> 
> python /usr/lib/python$PV/compileall.py -q $i
> 
> Instead of
> 
> /usr/bin/python /usr/lib/python$PV/compileall.py -q $i

This is common practice; e.g. /usr/share/doc/python/sample.postinst.
Quoting Debian Policy:

     Programs called from maintainer scripts should not normally have a
     path prepended to them.  Before installation is started, the package
     management system checks to see if the programs `ldconfig',
     `start-stop-daemon', `install-info', and `update-rc.d' can be found
     via the `PATH' environment variable.  Those programs, and any other
     program that one would expect to be on the `PATH', should thus be
     invoked without an absolute pathname.  Maintainer scripts should also
     not reset the `PATH', though they might choose to modify it by
     prepending or appending package-specific directories.  These
     considerations really apply to all shell scripts.


Thanks,

Matej

Reply via email to