Re: PATH setting used by dpkg to run postinstall scripts?
On Thu, Oct 17, 2002 at 10:53:49AM +1000, Brian May wrote:
> It is possible that the system adminstrator may prefer using
> a 3rd party version of adduser, for instance (maybe a script that
> enhances on /usr/sbin/adduser for interactive use), but doesn't
> want it to break packages that really intend to use
> Of course, the same thing could work both ways (the system adminstrator
> may want the new improved version of adduser to be used instead, maybe
> it has support for LDAP for instance).
> So I am not about to provide any solutions here...
Seems to me that aforementioned should reset his own PATH before executing
dpkg. Maybe using a wrapper script?
Martijn van Oosterhout <email@example.com> http://svana.org/kleptog/
> There are 10 kinds of people in the world, those that can do binary
> arithmetic and those that can't.