Re: lintian warnings (help)
On Mon, Apr 13, 1998 at 01:10:12PM -0400, Adam P. Harris wrote:
> if [ -x /usr/sbin/config-bar ]; then config-bar foo ; fi
> Therefore I decided this approach was superior:
> if command -v config-bar >/dev/null 2>&1 ; then config-bar foo ; fi
Don't both of these assume that config-bar is on the path?
Although that is reasonable for /usr/sbin, if the path has changed
as you hypothesise then perhaps the new path is not.
Hamish Moffatt, firstname.lastname@example.org, email@example.com, firstname.lastname@example.org
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome. http://hamish.home.ml.org
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org