From 1b0dc842e75f5e89e8779c511d5ae7bb9f5087ce Mon Sep 17 00:00:00 2001 From: Rafael Blumberg Date: Sat, 22 Apr 2023 16:44:13 +0100 Subject: [PATCH] Use case insensitive when looking for cookies --- root/scripts/Extras.bash | 2 +- root/scripts/Youtube-Series-Downloader.bash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/root/scripts/Extras.bash b/root/scripts/Extras.bash index ff6edb9..956b6f5 100644 --- a/root/scripts/Extras.bash +++ b/root/scripts/Extras.bash @@ -76,7 +76,7 @@ fi DownloadExtras () { # Check for cookies file - if find /config -type f -name "cookies.txt" | read; then + if find /config -type f -iname "cookies.txt" | read; then cookiesFile="$(find /config -type f -iname "cookies.txt" | head -n1)" log "$itemTitle :: Cookies File Found!" else diff --git a/root/scripts/Youtube-Series-Downloader.bash b/root/scripts/Youtube-Series-Downloader.bash index dd14133..f92708e 100644 --- a/root/scripts/Youtube-Series-Downloader.bash +++ b/root/scripts/Youtube-Series-Downloader.bash @@ -36,7 +36,7 @@ fi CookiesCheck () { # Check for cookies file - if find /config -type f -name "cookies.txt" | read; then + if find /config -type f -iname "cookies.txt" | read; then cookiesFile="$(find /config -type f -iname "cookies.txt" | head -n1)" log "Cookies File Found!" else