Re: command -v in postinsts violating policy
On Sat, 25 May 2002, Clint Adams wrote:
> > the problem is there is no better replacement for 'command -v'. And we do not
> > really need an exception -- every shell we have supports this. So the only way
>
> Well, that's not true. As Luca has pointed out, /usr/bin/which is
> Essential at the moment. Also, not every shell in Debian supports
> `command -v', as was pointed out.
Of course, which doesn't handle commands that start with -(see 148178), so
attempting to auto-check whether command -v works as it should is problematic.
--
To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: