Bug#106259: marked as done (htmlgen install script uses Python on path)
Your message dated 13 Aug 2001 18:40:54 +0200
with message-id <874rrbx695.fsf@om.i-did-not-set--mail-host-address--so-shoot-me>
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 moshez@zadka.site.co.il Sun Jul 22 23:10:48 2001
Return-path: <moshez@zadka.site.co.il>
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 <submit@bugs.debian.org>; 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 <moshez@zadka.site.co.il>
To: Debian Bug Tracking System <submit@bugs.debian.org>
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: <E15OWz1-0005PC-00@darjeeling>
Delivered-To: submit@bugs.debian.org
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 mvela@public.srce.hr Mon Aug 13 12:14:26 2001
Return-path: <mvela@public.srce.hr>
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 <106259-done@bugs.debian.org>; 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 <106259-done@bugs.debian.org>; Mon, 13 Aug 2001 18:40:54 +0200
From: Matej Vela <vela@debian.org>
To: 106259-done@bugs.debian.org
Subject: Re: htmlgen install script uses Python on path
References: <E15OWz1-0005PC-00@darjeeling>
Date: 13 Aug 2001 18:40:54 +0200
In-Reply-To: <E15OWz1-0005PC-00@darjeeling>
Message-ID: <874rrbx695.fsf@om.i-did-not-set--mail-host-address--so-shoot-me>
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 <mvela@om>
Delivered-To: 106259-done@bugs.debian.org
Moshe Zadka <moshez@zadka.site.co.il> 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 to: