From b20102f5bdf86d8e807f0096fda3c6accbe4fcc5 Mon Sep 17 00:00:00 2001 From: natemaia Date: Fri, 18 Jan 2019 23:13:35 -0800 Subject: [PATCH] Switch precheck messages to infoboxes --- src/archlabs-installer | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/archlabs-installer b/src/archlabs-installer index 5cb51ac..9884b77 100755 --- a/src/archlabs-installer +++ b/src/archlabs-installer @@ -2502,11 +2502,11 @@ system_checks() prechecks() { if [[ $1 -ge 0 ]] && ! [[ $(lsblk -lno MOUNTPOINT) =~ $MNT ]]; then - msgbox "$_ErrTitle" "$_ErrNoMount"; SEL=4; return 1 + infobox "$_ErrTitle" "$_ErrNoMount"; SEL=4; return 1 elif [[ $1 -ge 1 && ($NEWUSER == "" || $USER_PASS == "") ]]; then - msgbox "$_ErrTitle" "\nYou need to create a user first.\n"; SEL=5; return 1 + infobox "$_ErrTitle" "\nYou need to create a user first.\n"; SEL=5; return 1 elif [[ $1 -ge 2 && $CONFIG_DONE != true ]]; then - msgbox "$_ErrTitle" "$_ErrNoConfig"; SEL=6; return 1 + infobox "$_ErrTitle" "$_ErrNoConfig"; SEL=6; return 1 fi return 0 }