File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2227,11 +2227,7 @@ FTLinstall() {
22272227 binary=" ${1} "
22282228
22292229 # Determine which version of FTL to download
2230- if [[ " ${ftlBranch} " == " master" ]]; then
2231- url=" https://github.com/pi-hole/ftl/releases/latest/download"
2232- else
2233- url=" https://ftl.pi-hole.net/${ftlBranch} "
2234- fi
2230+ url=" https://github.com/pi-hole/FTL/releases/download/v5.25.2"
22352231
22362232 if curl -sSL --fail " ${url} /${binary} " -o " ${binary} " ; then
22372233 # If the download worked, get sha1 of the binary we just downloaded for verification.
@@ -2447,7 +2443,7 @@ FTLcheckUpdate() {
24472443 FTLversion=$( /usr/bin/pihole-FTL tag)
24482444 local FTLlatesttag
24492445
2450- 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
2446+ if ! FTLlatesttag=$( curl -sI https://github.com/pi-hole/FTL/releases/v5.25.2 | grep --color=never -i Location: | awk -F / ' {print $NF}' | tr -d ' [:cntrl:]' ) ; then
24512447 # There was an issue while retrieving the latest version
24522448 printf " %b Failed to retrieve latest FTL release metadata" " ${CROSS} "
24532449 return 3
You can’t perform that action at this time.
0 commit comments