From 8383f6b4f883554add2409dd53700a5062bb24a0 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Fri, 21 Jul 2023 22:51:22 +0800 Subject: [PATCH] Update install.sh --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 2bae89c..d0d76e1 100755 --- a/install.sh +++ b/install.sh @@ -209,7 +209,7 @@ install() { fi # Update grub config - prompt -i "\n Updating grub config... \n" + prompt -i "\n Updating grub config..." updating_grub prompt -w "\n * At the next restart of your computer you will see your new Grub theme: '$theme' " @@ -337,11 +337,11 @@ updating_grub() { grub2-mkconfig -o /boot/grub2/grub.cfg elif has_command dnf; then if [[ -f /boot/efi/EFI/fedora/grub.cfg ]] && (( $(cat /etc/fedora-release | awk '{print $3}') < 34 )); then - prompt -i "\n Find config file on /boot/efi/EFI/fedora/grub.cfg ...\n" + prompt -s "\n Find config file on /boot/efi/EFI/fedora/grub.cfg ...\n" grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg fi if [[ -f /boot/grub2/grub.cfg ]]; then - prompt -i "\n Find config file on /boot/grub2/grub.cfg ...\n" + prompt -s "\n Find config file on /boot/grub2/grub.cfg ...\n" grub2-mkconfig -o /boot/grub2/grub.cfg fi fi