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

Create versions file before sourcing it (#5097)

This commit is contained in:
Adam Warner 2022-12-30 17:54:01 +00:00 committed by GitHub
commit d882652a85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2717,12 +2717,12 @@ main() {
restart_service pihole-FTL restart_service pihole-FTL
# Download and compile the aggregated block list
runGravity
# Update local and remote versions via updatechecker # Update local and remote versions via updatechecker
/opt/pihole/updatecheck.sh /opt/pihole/updatecheck.sh
# Download and compile the aggregated block list
runGravity
if [[ "${useUpdateVars}" == false ]]; then if [[ "${useUpdateVars}" == false ]]; then
displayFinalMessage "${pw}" displayFinalMessage "${pw}"
fi fi