From 7bb029a8b44b9ede56d60638c292629791bdfab8 Mon Sep 17 00:00:00 2001 From: kprkpr Date: Mon, 6 Jun 2016 10:02:03 +0200 Subject: [PATCH] changes --- archinstall/chrootinstall.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/archinstall/chrootinstall.sh b/archinstall/chrootinstall.sh index fab1201..fabb1a4 100755 --- a/archinstall/chrootinstall.sh +++ b/archinstall/chrootinstall.sh @@ -336,20 +336,13 @@ keyboardlayout programasguiuser fi -##Otros programas, yaourt -yaourtinst=`dialog --stdout --nocancel --menu "¿Quiere habilitar el soporte para paquetes no oficiales de AUR? (No hacer si no sabes que es)" 0 0 5 1 "No" 2 "Si, instalar yaourt"` -case $yaourtinst in - 2) - pacman -S yaourt base-devel --noconfirm --needed;; -esac - } function otrasconfig { mostrardialog "Otras configuraciones" "Aquí puedes seleccionar otras configuraciones que puedes hacer a Arch antes de terminar la instalacion, como su nombre" # Loop infinito en otras configuraciones hasta que se pulse la de terminar for (( ; ; )) -othopt=`dialog --stdout --nocancel --menu "Otras configuraciones" 0 0 8 e "Nada mas / Finalizar instalacion" 1 "Cambiar hostname (Nombre pc)" 2 "Usar otra distribucion de teclado como principal" 3 "Cambiar contraseña de root"` +othopt=`dialog --stdout --nocancel --menu "Otras configuraciones" 0 0 8 e "Nada mas / Finalizar instalacion" 1 "Cambiar hostname (Nombre pc)" 2 "Usar otra distribucion de teclado como principal" 3 "Cambiar contraseña de root" 4 "Habilitar AUR (con yaourt)` if [[ $othopt = "e" ]];then break else @@ -385,6 +378,7 @@ else fi done ;; + 4) pacman -S yaourt base-devel --noconfirm --needed;; esac fi }