From de378454b5ee5fd8cd67acad59c7c977856de2ed Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Wed, 16 Aug 2023 00:29:57 +0800 Subject: [PATCH] Fixed #203 --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 411fa65..ebd7e80 100755 --- a/install.sh +++ b/install.sh @@ -130,7 +130,7 @@ install() { # Check for root access and proceed if it is present if [[ "$UID" -eq "$ROOT_UID" ]]; then - clear + echo -e '\0033\0143' # Generate the theme in "/usr/share/grub/themes" generate "${theme}" "${icon}" "${screen}" @@ -290,7 +290,7 @@ run_dialog() { else #block for 3 seconds before allowing another attempt sleep 3 - clear + echo -e '\0033\0143' prompt -e "\n [ Error! ] -> Incorrect password!\n" exit 1 fi @@ -342,7 +342,7 @@ run_dialog() { } operation_canceled() { - clear + echo -e '\0033\0143' prompt -i "\n Operation canceled by user, Bye!" exit 1 } @@ -462,7 +462,7 @@ remove() { else #block for 3 seconds before allowing another attempt sleep 3 - clear + echo -e '\0033\0143' prompt -e "\n [ Error! ] -> Incorrect password!\n" exit 1 fi