From b1b19f1d6ace6637527d6676dba35323edfa80de Mon Sep 17 00:00:00 2001 From: natemaia Date: Mon, 17 Dec 2018 22:51:38 -0800 Subject: [PATCH] Add sleep to slow down format dialog with small partitions --- src/archlabs-installer | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/archlabs-installer b/src/archlabs-installer index 445b15f..1b5196d 100755 --- a/src/archlabs-installer +++ b/src/archlabs-installer @@ -1176,9 +1176,11 @@ select_efi_partition() local msg="$_FormUefiBody $BOOT_PART $_FormUefiBody2" if [[ $AUTO_BOOT_PART != "$BOOT_PART" ]] && yesno "$_PrepMount" "$msg" "Format $BOOT_PART" "Do Not Format" "no"; then format "$BOOT_PART" "vfat" + sleep 1 fi else format "$BOOT_PART" "vfat" + sleep 1 fi return 0 } @@ -1193,9 +1195,11 @@ select_boot_partition() local msg="$_FormBiosBody $BOOT_PART $_FormUefiBody2" if [[ $AUTO_BOOT_PART != "$BOOT_PART" ]] && yesno "$_PrepMount" "$msg" "Format $BOOT_PART" "Skip Formatting" "no"; then format "$BOOT_PART" "ext4" + sleep 1 fi else format "$BOOT_PART" "ext4" + sleep 1 fi fi return 0 @@ -2061,10 +2065,6 @@ package_operations() fi fi - # for only gnome or cinnamon we don't need the xfce provided stuff - [[ $INSTALL_WMS =~ (gnome|cinnamon) ]] && - rmpkg+=" $(pacman -Qssq 'xfce4*' 2>/dev/null)" - # when not using grub bootloader remove it's package and configurations if [[ $BOOTLDR != 'grub' ]]; then rmpkg+=" grub"