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

Re: command -v in postinsts violating policy



On Tue, May 28, 2002 at 11:59:59PM -0700, Jim Lynch wrote:
> As to usefulness of which -q, is it only limited to maintainers,
> usage-stats-wise?

With the proper man page modifications, it would be useful to any user willing
to write a sh compatible script:

if which -q $command ; then
	whatever
fi

OTOH, i'm moving to another solution which obsolate this one: Debian utilities
to configure packages.
-- 
Luca - De Whiskey's - De Vitis              | Elegant or ugly code as well
aliases: Luca ^De [A-Z][A-Za-z\-]*[iy]'\?s$ | as fine or rude sentences have
Luca, a wannabe ``Good guy''.               | something in common: they
local LANG="it_IT@euro"                     | don't depend on the language.


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



Reply to: