From 0d6cd6628f63f15c450dbabd423764dc2a024478 Mon Sep 17 00:00:00 2001 From: Sheikh Saad Date: Wed, 3 Mar 2021 02:12:39 +0600 Subject: Revert change to dep_ck function Reverting a change I made in [PR#58](https://github.com/pystardust/ytfzf/pull/58) which messed up when `YTFZF_PLAYER` has multiple words. It'd still be nice to have a better `dep_ck` function so that mpv wouldn't be a hard dependency. It isn't, really, and one could probably use VLC or some other player to the same effect. --- ytfzf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ytfzf b/ytfzf index 2bc603c..1b47f75 100755 --- a/ytfzf +++ b/ytfzf @@ -36,7 +36,7 @@ dep_ck () { command -v "$dep" 1>/dev/null || { printf "$dep not found. Please install it.\n" ; exit 2; } done } -dep_ck "jq" "youtube-dl" "$YTFZF_PLAYER"; +dep_ck "jq" "youtube-dl" "mpv"; ############################ -- cgit v1.2.3