From bb3b1bc6bac4c57635385b61a3e6c567faf2b1a3 Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Sat, 20 Jan 2018 05:13:55 -0800 Subject: [PATCH] Move ascii berry to after root check, stops the double berry for the sudo refire. Signed-off-by: Dan Schaper --- automated install/basic-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index d22775c4..7d8dbae9 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -1897,8 +1897,6 @@ FTLdetect() { main() { ######## FIRST CHECK ######## - # Show the Pi-hole logo so people know it's genuine since the logo and name are trademarked - show_ascii_berry # Must be root to install local str="Root user check" echo "" @@ -1907,6 +1905,8 @@ main() { if [[ "${EUID}" -eq 0 ]]; then # they are root and all is good echo -e " ${TICK} ${str}" + # Show the Pi-hole logo so people know it's genuine since the logo and name are trademarked + show_ascii_berry # Otherwise, else # They do not have enough privileges, so let the user know