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