From d1cff920c03d4eefeb89803a93c86340bb3f08cc Mon Sep 17 00:00:00 2001 From: kprkpr Date: Mon, 6 Jun 2016 08:40:55 +0200 Subject: [PATCH] changes --- archinstall/archinstall.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/archinstall/archinstall.sh b/archinstall/archinstall.sh index 8636a41..f65a71c 100755 --- a/archinstall/archinstall.sh +++ b/archinstall/archinstall.sh @@ -127,11 +127,9 @@ if [[ ! $optpa -eq 3 ]];then done #Detectar tipo de tabla de particiones (gpt o msdos) y si es gpt, preparar para UEFI - echo "$(parted /dev/${hd} p | grep "Partition Table" | awk '1 {print $3}')" tabletype="$(parted /dev/${hd} p | grep "Partition Table" | awk '1 {print $3}')" - echo $tabletype - pause - if [[ $tabletype -eq "gpt" ]];then + + if [[ $tabletype = "gpt" ]];then mostrardialog "GPT Partition Table" "Estas usando el estilo de particiones GPT, que utiliza UEFI, recuerda que tendras que tener y seleccionar la particion UEFI del sistema" fi tput setaf 6 ; echo "$(T "Your partition scheme")" ; tput setaf 9