mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 23:08:07 +00:00
Merge pull request #1517 from pi-hole/tweak/update_core_and_FTL
Don't update FTL when there is a core update
This commit is contained in:
commit
c47f3e3307
@ -117,7 +117,10 @@ main() {
|
|||||||
echo "::: FTL: up to date"
|
echo "::: FTL: up to date"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ${FTL_update}; then
|
# Logic: Don't update FTL when there is a core update available
|
||||||
|
# since the core update will run the installer which will itself
|
||||||
|
# re-install (i.e. update) FTL
|
||||||
|
if ${FTL_update} && ! ${core_update}; then
|
||||||
echo ":::"
|
echo ":::"
|
||||||
echo "::: FTL out of date"
|
echo "::: FTL out of date"
|
||||||
FTLdetect
|
FTLdetect
|
||||||
|
Loading…
Reference in New Issue
Block a user