Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Warner <me@adamwarner.co.uk>2020-02-24 23:16:54 +0300
committerGitHub <noreply@github.com>2020-02-24 23:16:54 +0300
commit121c93e8228763c5d262065e04ca39f093e76996 (patch)
tree323820a3011e513adc6b35fffd62c8d8ba42a1ef
parent14944b0283ea703cc6292eb32691921025665801 (diff)
parentb4c2bf678f4715da45cd22dcf56ca68d1a877112 (diff)
Merge pull request #3160 from pi-hole/release/v4.3.5v4.3.5
Hotfix 4.3.5
-rwxr-xr-xautomated install/basic-install.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh
index 9986df3c..ee4793e7 100755
--- a/automated install/basic-install.sh
+++ b/automated install/basic-install.sh
@@ -2382,17 +2382,14 @@ FTLcheckUpdate() {
if [[ ${ftlLoc} ]]; then
local FTLversion
FTLversion=$(/usr/bin/pihole-FTL tag)
- local FTLreleaseData
local FTLlatesttag
- if ! FTLreleaseData=$(curl -sI https://github.com/pi-hole/FTL/releases/latest); then
+ if ! FTLlatesttag=$(curl -sI https://github.com/pi-hole/FTL/releases/latest | grep --color=never -i Location | awk -F / '{print $NF}' | tr -d '[:cntrl:]'); then
# There was an issue while retrieving the latest version
printf " %b Failed to retrieve latest FTL release metadata" "${CROSS}"
return 3
fi
- FTLlatesttag=$(grep 'Location' <<< "${FTLreleaseData}" | awk -F '/' '{print $NF}' | tr -d '\r\n')
-
if [[ "${FTLversion}" != "${FTLlatesttag}" ]]; then
return 0
else