More space around some messages

This commit is contained in:
natemaia 2019-08-18 14:26:50 -07:00
parent 77c66897f4
commit 091ea12936

View File

@ -1200,7 +1200,7 @@ select_filesystem()
select_efi_partition() select_efi_partition()
{ {
if [[ $AUTO_BOOT_PART ]]; then if [[ $AUTO_BOOT_PART ]]; then
msg "EFI Boot Partition" "\nUsing partition created during automatic format." 1 msg "EFI Boot Partition" "\nUsing partition created during automatic format.\n" 1
BOOT_PART="$AUTO_BOOT_PART"; return 0 # were done here BOOT_PART="$AUTO_BOOT_PART"; return 0 # were done here
else else
local pts size dev isize bsize ptcount=0 local pts size dev isize bsize ptcount=0
@ -1214,7 +1214,7 @@ select_efi_partition()
done <<< "$PARTS" done <<< "$PARTS"
if (( ptcount == 1 )); then if (( ptcount == 1 )); then
msg "EFI Boot Partition" "\nOnly one partition that meets size requirements available." 1 msg "EFI Boot Partition" "\nOnly one partition that meets size requirements available.\n" 1
BOOT_PART="$(awk 'NF > 0 {print $1}' <<< "$pts")" BOOT_PART="$(awk 'NF > 0 {print $1}' <<< "$pts")"
else else
dlg BOOT_PART menu "EFI Partition" "$_uefi" $pts dlg BOOT_PART menu "EFI Partition" "$_uefi" $pts
@ -1238,7 +1238,7 @@ select_efi_partition()
select_boot_partition() select_boot_partition()
{ {
if [[ $AUTO_BOOT_PART && ! $LVM ]]; then if [[ $AUTO_BOOT_PART && ! $LVM ]]; then
msg "BIOS Boot Partition" "\nUsing partition created during automatic format." 1 msg "BIOS Boot Partition" "\nUsing partition created during automatic format.\n" 1
BOOT_PART="$AUTO_BOOT_PART"; return 0 # were done here BOOT_PART="$AUTO_BOOT_PART"; return 0 # were done here
else else
local pts size dev isize bsize ptcount=0 local pts size dev isize bsize ptcount=0
@ -1275,7 +1275,7 @@ select_root_partition()
{ {
if [[ $AUTO_ROOT_PART && -z $LVM && -z $LUKS ]]; then if [[ $AUTO_ROOT_PART && -z $LVM && -z $LUKS ]]; then
ROOT_PART="$AUTO_ROOT_PART" ROOT_PART="$AUTO_ROOT_PART"
msg "Select Root Partition (/)" "\nUsing partition created during automatic format." 1 msg "Select Root Partition (/)" "\nUsing partition created during automatic format.\n" 1
part_mount "$ROOT_PART" || { ROOT_PART=''; return 1; } part_mount "$ROOT_PART" || { ROOT_PART=''; return 1; }
return 0 # we're done here return 0 # we're done here
else else
@ -1290,7 +1290,7 @@ select_root_partition()
done <<< "$PARTS" done <<< "$PARTS"
if (( ptcount == 1 )); then # only one available device if (( ptcount == 1 )); then # only one available device
msg "Select Root Partition (/)" "\nOnly one partition that meets size requirements available." 1 msg "Select Root Partition (/)" "\nOnly one partition that meets size requirements available\n." 1
ROOT_PART="$(awk 'NR==1 {print $1}' <<< "$pts")" ROOT_PART="$(awk 'NR==1 {print $1}' <<< "$pts")"
else else
dlg ROOT_PART menu "Mount Root" "\nSelect the root (/) partition, this is where $DIST will be installed.\n\nDevices smaller than 8G will not be shown here." $pts dlg ROOT_PART menu "Mount Root" "\nSelect the root (/) partition, this is where $DIST will be installed.\n\nDevices smaller than 8G will not be shown here." $pts