From 4004a776dbbe9a488d9335482dd18bf823a6262d Mon Sep 17 00:00:00 2001 From: JoseluCross Date: Fri, 3 Jun 2016 23:21:51 +0200 Subject: [PATCH] Probando idiomas --- archinstall/downloadinstall.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/archinstall/downloadinstall.sh b/archinstall/downloadinstall.sh index a921509..68749e5 100755 --- a/archinstall/downloadinstall.sh +++ b/archinstall/downloadinstall.sh @@ -2,19 +2,19 @@ echo "Bienvenido a JKArch" idiom=`dialog --stdout --nocancel --backtitle "JKArch Instalation" --title "Language selection" --menu "Select your language" 0 70 5 1 "Spanish (es)" 2 "English (en)"` -if [[ $idiom = 1 ]];then +if [[ $idiom -eq 1 ]];then loadkeys es LANG="es_ES.UTF-8" ; export LANG -elif [[ $idiom = 2 ]];then +elif [[ $idiom -eq 2 ]];then loadkeys en LANG="en_GB.UTF-8" ; export LANG fi opt=`dialog --stdout --nocancel --backtitle "Instalacion de JKArch" --title "Bienvenido a JKArch" --menu "Para poder comenzar la instalacion, se necesita una conexion a internet. ¿Como te conectas?" 0 70 5 1 "Estoy por cable (Ethernet)" 2 "Wi-Fi/Inalambrico" 3 "Configuracion compleja (Ir a la terminal)"` -if [[ $opt = 2 ]];then +if [[ $opt -eq 2 ]];then wifi-menu -elif [[ $opt = 3 ]];then +elif [[ $opt -eq 3 ]];then clear echo "Te sacamos a la terminal, configure internet, asegurese de que funcione y después escriba exit para continuar" bash