From c991e3a3a7d516bcd78c2dc63874028e1d2933fc Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Fri, 21 Jul 2023 23:15:11 +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 3c912b7..0449f39 100755 --- a/install.sh +++ b/install.sh @@ -142,7 +142,7 @@ install() { if [[ "$choice" = 'y' ]]; then cp -a /etc/default/grub /etc/default/grub.bak else - prompt -w "Skipping to save a backup configuration in '/etc/default/grub.bak'" + prompt -s "Skipping to save a backup configuration in '/etc/default/grub.bak'" fi else cp -a /etc/default/grub /etc/default/grub.bak @@ -345,11 +345,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 -s "\n Find config file on /boot/efi/EFI/fedora/grub.cfg ...\n" + prompt -s "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 -s "\n Find config file on /boot/grub2/grub.cfg ...\n" + prompt -s "Find config file on /boot/grub2/grub.cfg ...\n" grub2-mkconfig -o /boot/grub2/grub.cfg fi fi