From 7ab5066862b54ff35bd9e0f375e2e4b9819a9fae Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Sat, 29 Jan 2022 12:03:44 -0300 Subject: [PATCH] Shorten the max line length to 130 (355:620) --- install.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 9e9226c..de5b5ea 100755 --- a/install.sh +++ b/install.sh @@ -373,7 +373,8 @@ setRootPassword() { } updateMirrors() { - dialog --msgbox "\nNow, we will update the mirror list by taking the most recently synchronized HTTPS mirrors sorted by download rate." 9 59 + msg="\nNow, we will update the mirror list by taking the most recently synchronized HTTPS mirrors sorted by download rate." + dialog --msgbox "$msg" 9 59 dialog --yesno "\nWould you like to choose your closest countries to narrow the search?" 8 55 if [ $? -eq 0 ]; then printWaitBox @@ -396,7 +397,8 @@ updateMirrors() { grubSetUp() { printWaitBox [ -z $bootPath ] && tryLoadVar "bootPath" - runInChroot "grub-install --target=x86_64-efi --efi-directory=${bootPath} --bootloader-id=GRUB; grub-mkconfig -o /boot/grub/grub.cfg" 2>&1 | debug + runInChroot "grub-install --target=x86_64-efi --efi-directory=${bootPath} --bootloader-id=GRUB" + runInChroot "grub-mkconfig -o /boot/grub/grub.cfg" 2>&1 | debug } saveVar() { @@ -451,7 +453,8 @@ checkSudoers() { } installOtherPackages() { - dialog --msgbox "\nNow, we will install a few more packages (in the background). Press OK and wait (it may take some time)." 8 59 + msg="\nNow, we will install a few more packages (in the background). Press OK and wait (it may take some time)." + dialog --msgbox "$msg" 8 59 [ -z "$username" ] && tryLoadVar "username" getThePackages "S" "installOtherPackages" checkForParu