From 09079405ac86f183051a32a5d8ba0a17cdeb2225 Mon Sep 17 00:00:00 2001 From: q3aql Date: Thu, 7 Aug 2025 09:25:56 +0200 Subject: [PATCH] scripts/update-firefox.sh --- scripts/update-firefox.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-firefox.sh b/scripts/update-firefox.sh index c4dce20..8300af6 100755 --- a/scripts/update-firefox.sh +++ b/scripts/update-firefox.sh @@ -43,7 +43,7 @@ install_firefox_desktop() { echo "Checking firefox version" touch /etc/firefox_version.conf -url_download=$(curl -I -s "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US" | grep Location | cut -d " " -f 2) +url_download=$(curl -I -s "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US" | grep -i "location:" | cut -d " " -f 2) version_firefox=$(basename ${url_download}) version_firefox_current=$(cat /etc/firefox_version.conf) if [ "${version_firefox}" != "${version_firefox_current}" ] ; then