Comment # 6
on bug 92164
from Patrick Ohly
(In reply to Simon McVittie from comment #5)
> (In reply to Patrick Ohly from comment #4)
> > I'm going to use this instead
>
> Did this happen?
Yes, it is part of the 1.5.2 release from November last year. I just had
forgotten to close the bug.
> > if which dbus-send >/dev/null 2>&1; then
>
> You might want
>
> if command -v dbus-send >/dev/null; then
>
> which I believe is guaranteed to work by POSIX.1-2008 (and usually a shell
> builtin in practice), whereas which(1) is commonly available but not part of
> any standard that I know of.
Good to know, but as it is released now I'll probably not bother with changing
it.