got rid of cosmetic glitch complaining about afplay
authorChris Koeritz <fred@gruntose.com>
Tue, 16 Nov 2021 19:47:49 +0000 (14:47 -0500)
committerChris Koeritz <fred@gruntose.com>
Tue, 16 Nov 2021 19:47:49 +0000 (14:47 -0500)
like i forgot my own helper scripts, whichable.

scripts/multimedia/sound_play.sh

index 382d773852adfab8cca3a66c4c990127355efe05..8c5130efc69b0793e7199b9ca1abc29bbfa0dbaf 100644 (file)
@@ -14,7 +14,7 @@ if [ ! -f "$PLAYCMD" ]; then
   PLAYCMD='echo Unknown sound player...'
 fi
 
-if [ ! -z "$(which afplay)" ]; then
+if [ ! -z "$(whichable afplay)" ]; then
 #echo we see afplay available...
   PLAYCMD=afplay
 elif [ ! -z "$(psfind artsd)" ]; then