From fd75f5e50e3e2ed9790c223931b0296b8c3a4359 Mon Sep 17 00:00:00 2001 From: joachimschmidt557 Date: Fri, 5 Jul 2019 09:24:47 +0200 Subject: [PATCH] Change from which to command -v --- youtube-mp3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube-mp3 b/youtube-mp3 index d033ae2..6da4aa2 100755 --- a/youtube-mp3 +++ b/youtube-mp3 @@ -12,13 +12,13 @@ EOF } # Check for youtube-dl in path -if ! (which youtube-dl) ; then +if ! (command -v youtube-dl) ; then echo "No youtube-dl found in path" exit 1 fi # Check for ffmpeg in path -if ! (which ffmpeg) ; then +if ! (command -v ffmpeg) ; then echo "No ffmpeg found in path" exit 1 fi