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
1 changed files with 3 additions and 3 deletions

View File

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