1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-10-23 00:09:23 +00:00

Show version information after an web only update (#5788)

This commit is contained in:
yubiuser 2024-10-01 05:57:34 +02:00 committed by GitHub
commit 74d451a9c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -221,6 +221,12 @@ main() {
echo -e " ${INFO} Local version file information updated."
fi
# if there was only a web update, show the new versions
# (on core and FTL updates, this is done as part of the installer run)
if [[ "${web_update}" == true && "${FTL_update}" == false && "${core_update}" == false ]]; then
"${PI_HOLE_BIN_DIR}"/pihole version
fi
echo ""
exit 0
}

View File

@ -2434,7 +2434,7 @@ main() {
if [[ "${INSTALL_TYPE}" == "Update" ]]; then
printf "\\n"
"${PI_HOLE_BIN_DIR}"/pihole version --current
"${PI_HOLE_BIN_DIR}"/pihole version
fi
}