From 26ef0be9d635bce7a410330d9c4932a661c45970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Mon, 16 Dec 2024 11:56:04 +0100 Subject: [PATCH] One check less MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- automated install/basic-install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index f1ef8887..a4ccf434 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -2490,10 +2490,6 @@ main() { # Update local and remote versions via updatechecker /opt/pihole/updatecheck.sh - if [[ "${useUpdateVars}" == false ]]; then - displayFinalMessage "${pw}" - fi - # If there is a password if ((${#pw} > 0)); then # display the password @@ -2502,6 +2498,9 @@ main() { fi if [[ "${useUpdateVars}" == false ]]; then + # Display the completion dialog + displayFinalMessage "${pw}" + # If the Web interface was installed, printf " %b View the web interface at http://pi.hole:${WEBPORT}/admin or http://%s/admin\\n\\n" "${INFO}" "${IPV4_ADDRESS%/*}:${WEBPORT}"