diff options
author | Sheikh Saad <sksaad48@gmail.com> | 2021-03-03 02:12:39 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 02:12:39 +0600 |
commit | 0d6cd6628f63f15c450dbabd423764dc2a024478 (patch) | |
tree | 1bb1f08a88a7e75f38a5ab5257ea4c968f0bea1f | |
parent | 51a278bb9936434ec942304d703988f48a840c04 (diff) | |
download | ytfzf-0d6cd6628f63f15c450dbabd423764dc2a024478.tar.gz |
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.
-rwxr-xr-x | ytfzf | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; ############################ |