diff --git a/pulseaudio-tcp b/pulseaudio-tcp index c016c7d..5255e04 100644 --- a/pulseaudio-tcp +++ b/pulseaudio-tcp @@ -433,13 +433,13 @@ else fi fi - if test -z "$(which jq)" ; then + if test -z "$(type -p jq)" ; then echo "ERROR: Required executable \"jq\" not found." >&2 rv=1 - elif test -z "$(which pactl)" ; then + elif test -z "$(type -p pactl)" ; then echo "ERROR: Required executable \"pactl\" not found." >&2 rv=1 - elif test -z "$(which ssh)" ; then + elif test -z "$(type -p ssh)" ; then echo "ERROR: Required executable \"ssh\" not found." >&2 rv=1 fi