mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-22 06:03:43 +00:00
Show version information after an web only update
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
parent
c0e39087bc
commit
bcc3a7e35e
2 changed files with 7 additions and 1 deletions
|
@ -221,6 +221,12 @@ main() {
|
||||||
echo -e " ${INFO} Local version file information updated."
|
echo -e " ${INFO} Local version file information updated."
|
||||||
fi
|
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 ""
|
echo ""
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
|
@ -2434,7 +2434,7 @@ main() {
|
||||||
|
|
||||||
if [[ "${INSTALL_TYPE}" == "Update" ]]; then
|
if [[ "${INSTALL_TYPE}" == "Update" ]]; then
|
||||||
printf "\\n"
|
printf "\\n"
|
||||||
"${PI_HOLE_BIN_DIR}"/pihole version --current
|
"${PI_HOLE_BIN_DIR}"/pihole version
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue