summaryrefslogtreecommitdiff
path: root/scripts/vidl
diff options
context:
space:
mode:
authorryukamish <[email protected]>2026-06-03 10:33:27 +0530
committerryukamish <[email protected]>2026-06-03 10:33:27 +0530
commitcd8c41afa15baa32e59cee2e73a07dc8e78858f3 (patch)
tree5c6d32345b73a44c672284c1bc619ee6fe9d3aea /scripts/vidl
parent7c2ee5f547c80501b1fc40d8fbada7b6dbc9ae9d (diff)
fix: false alarm even when command's available
Diffstat (limited to 'scripts/vidl')
-rwxr-xr-xscripts/vidl4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/vidl b/scripts/vidl
index 7fd7e8a..719196d 100755
--- a/scripts/vidl
+++ b/scripts/vidl
@@ -5,12 +5,10 @@ set -eou pipefail
check_deps(){
app_list=(yt-dlp gum)
for app in "${app_list[@]}"; do
- _have=$(command -v "$app" &>/dev/null)
+ _have=$(command -v "$app")
if [ -z "$_have" ]; then
printf "%b\n" "$app is not installed."
exit 1
- else
- true
fi
done
}