OSDN Git Service

More space around some messages
authornatemaia <natemaia10@gmail.com>
Sun, 18 Aug 2019 21:26:50 +0000 (14:26 -0700)
committernatemaia <natemaia10@gmail.com>
Sun, 18 Aug 2019 21:26:50 +0000 (14:26 -0700)
archlabs-installer

index 72a4384..a643f24 100755 (executable)
@@ -1200,7 +1200,7 @@ select_filesystem()
 select_efi_partition()
 {
        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
        else
                local pts size dev isize bsize ptcount=0
@@ -1214,7 +1214,7 @@ select_efi_partition()
                done <<< "$PARTS"
 
                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")"
                else
                        dlg BOOT_PART menu "EFI Partition" "$_uefi" $pts
@@ -1238,7 +1238,7 @@ select_efi_partition()
 select_boot_partition()
 {
        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
        else
                local pts size dev isize bsize ptcount=0
@@ -1275,7 +1275,7 @@ select_root_partition()
 {
        if [[ $AUTO_ROOT_PART && -z $LVM && -z $LUKS ]]; then
                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; }
                return 0  # we're done here
        else
@@ -1290,7 +1290,7 @@ select_root_partition()
                done <<< "$PARTS"
 
                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")"
                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