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

Re: command -v in postinsts violating policy



Adam Heath wrote:
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.


Simple suggestion: all Debian install scripts require /bin/bash. They never refer to /bin/sh. Especially as in, "#! /bin/sh"

Or if you don't like bash, ash. If not ash, csh. busybox. perl. Something. Just specify it and be done with it. And demand that shell be installed for the install scripts to run.



--
____               .:.                 ____
Bryan W. Headley - bwheadley@earthlink.net


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: