diff options
-rwxr-xr-x | radio.sh | 2 | ||||
-rwxr-xr-x | tv.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@ station="$1" trap 'exit 0' 2 15 # check dependency and warn user if necessary -if ! which mpv > /dev/null 2>&1 +if ! command -v mpv > /dev/null 2>&1 then echo 'You have to install mpv (e.g. sudo pacman -S mpv mpv-mpris)' exit 1 @@ -13,7 +13,7 @@ station="$1" trap 'exit 0' 2 15 # check dependency and warn user if necessary -if ! which mpv > /dev/null 2>&1 +if ! command -v mpv > /dev/null 2>&1 then echo 'You have to install mpv (e.g. sudo pacman -S mpv mpv-mpris)' exit 1 |