Use case insensitive when looking for cookies

pull/34/head
Rafael Blumberg 1 year ago
parent 245e3d96b5
commit 1b0dc842e7

@ -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

@ -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

Loading…
Cancel
Save