OSDN Git Service

Longer delay for short messages
authornatemaia <natemaia10@gmail.com>
Sun, 25 Aug 2019 07:16:21 +0000 (00:16 -0700)
committernatemaia <natemaia10@gmail.com>
Sun, 25 Aug 2019 07:16:21 +0000 (00:16 -0700)
archlabs-installer

index ef9a66d..d9dd261 100755 (executable)
@@ -1112,7 +1112,7 @@ mount_menu()
 
        select_swap || return 1
        select_extra_partitions || return 1
-       install_background
+       install_background
 
        return 0
 }
@@ -1200,7 +1200,7 @@ select_filesystem()
 select_efi_partition()
 {
        if [[ $AUTO_BOOT_PART ]]; then
-               msg "EFI Boot Partition" "\nUsing partition created during automatic format.\n" 1
+               msg "EFI Boot Partition" "\nUsing partition created during automatic format.\n" 2
                BOOT_PART="$AUTO_BOOT_PART"; return 0 # were done here
        else
                local pts size dev isize bsize ptcount=0
@@ -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.\n" 1
+               msg "BIOS Boot Partition" "\nUsing partition created during automatic format.\n" 2
                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.\n" 1
+               msg "Select Root Partition (/)" "\nUsing partition created during automatic format.\n" 2
                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 available that meets size requirements.\n" 1
+                       msg "Select Root Partition (/)" "\nOnly one partition available that meets size requirements.\n" 2
                        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