1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 23:08:07 +00:00

Don't update FTL when there is a core update (as this will update FTL a second time). Fixes #1516

This commit is contained in:
DL6ER 2017-06-04 12:40:57 +02:00
parent 6823a62644
commit f1146a3443
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

View File

@ -117,7 +117,10 @@ main() {
echo "::: FTL: up to date"
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 "::: FTL out of date"
FTLdetect