commit cd8c41afa15baa32e59cee2e73a07dc8e78858f3
parent 7c2ee5f547c80501b1fc40d8fbada7b6dbc9ae9d
Author: ryukamish <[email protected]>
Date: Wed, 3 Jun 2026 10:33:27 +0530
fix: false alarm even when command's available
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git 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
}