From 7328a1713451f81509d1a616e004875fa957c9f6 Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Fri, 8 Nov 2024 13:44:29 -0400 Subject: [PATCH] fix typo --- mpv-AppImage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mpv-AppImage.sh b/mpv-AppImage.sh index 0e47dce..58025b7 100644 --- a/mpv-AppImage.sh +++ b/mpv-AppImage.sh @@ -55,9 +55,9 @@ export XDG_DATA_DIRS="$CURRENTDIR/usr/share:$XDG_DATA_DIRS" # Download yt-dlp if needed if echo "$@" | grep -q "http" && ! command -v yt-dlp >/dev/null 2>&1; then echo "Video link detected but yt-dlp is not installed, installing..." - mkdir -p $CACHEDIR"/mpv-appimage_yt-dlp + mkdir -p "$CACHEDIR"/mpv-appimage_yt-dlp YT="$(curl -Ls https://api.github.com/repos/yt-dlp/yt-dlp/releases \ - | sed 's/[()",{} ]/\n/g' | grep -oi 'https.*yt.*linux$' | head -1) + | sed 's/[()",{} ]/\n/g' | grep -oi 'https.*yt.*linux$' | head -1)" if command -v wget >/dev/null 2>&1; then wget -q "$YT" -O "$CACHEDIR"/mpv-appimage_yt-dlp/yt-dlp elif command -v curl >/dev/null 2>&1; then