[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#123538: python-gendoc: Fix for postinst



On Wed, 19 Dec 2001 13:14:43 -0800 (PST)
"Sean 'Shaleh' Perry" <shalehperry@attbi.com> wrote:

> 
> On 19-Dec-2001 Gregor Hoffleit wrote:
> > * Sean 'Shaleh' Perry <shalehperry@attbi.com> [011219 22:05]:
> >> 
> >> On 19-Dec-2001 Gregor Hoffleit wrote:
> >> > Package: python-gendoc
> >> > Version: 0.73-5.1
> >> > 
> >> > Please include the following patch to make the postinst script more
> >> > robust.
> >> > 
> >> 
> >> all that does is turn on optimizations, how is that more robust?
> > 
> > Nope, the patch specifies a full path for the python binary.
> > Traditionally, the postinst scripts had only "python" in there, which
> > might lead to very strange effects when you have e.g. some development
> > version of python in /usr/local/bin.
> > 
> 
> sill me, I missed that there were TWO lines changed (-:  I only say what
> appeared to be the addition of -O.  Nevermind.
> 
> 
perhaps setting the path to python as an enviromental variable would be a goo didea too...not more stable jsut more easy to maintain... 



Reply to: