From 7b30bda6132f42835f4dcb8bbbbe78682ed69bed Mon Sep 17 00:00:00 2001 From: kprkpr Date: Mon, 30 May 2016 13:41:46 +0200 Subject: [PATCH] changes --- archinstall/chrootinstall.sh | 41 ++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/archinstall/chrootinstall.sh b/archinstall/chrootinstall.sh index cf34dfe..366c494 100755 --- a/archinstall/chrootinstall.sh +++ b/archinstall/chrootinstall.sh @@ -87,7 +87,9 @@ clear echo "Ahora customizaremos e instalaremos programas que desee. Puede seleccionar 'cancelar' en cualquier apartado para no instalar ninguno" echo "Se seleccionan o des seleccionan con la tecla espacio, y con el enter se acepta la selección" pause -opta=`dialog --stdout --checklist "¿Que navegador quieres?" 10 40 5 1 "Firefox" on 2 "Chrome" off 3 "Chromium" off 4 "Opera" off 5 "Otter Browser" off` + +##Navegadores +opta=`dialog --stdout --checklist "¿Que navegador quieres?" 0 0 5 1 "Firefox" on 2 "Chrome" off 3 "Chromium" off 4 "Opera" off 5 "Otter Browser" off 6 "Soporte Flash Player" on` case $opta in *1*) @@ -100,10 +102,13 @@ case $opta in packa="$packa opera";;& *5*) packa="$packa otter-browser";;& + *6*) + packa="$packa flashplugin";;& esac pacman -S $packa --noconfirm -optb=`dialog --stdout --checklist "¿Editores de texto y/o office?" 10 40 5 1 "Libreoffice" on 2 "AbiWord" off 3 "Gnumeric" off 4 "WPS Office" off 5 "leafpad (Bloc de notas)" on 6 "gedit" off 7 "notepadqq" off` +##Editores de texto/Office +optb=`dialog --stdout --checklist "¿Editores de texto y/o office?" 0 0 5 1 "Libreoffice" on 2 "AbiWord" off 3 "Gnumeric" off 4 "WPS Office" off 5 "leafpad (Bloc de notas)" on 6 "gedit" off 7 "notepadqq" off` case $optb in *1*) @@ -123,6 +128,38 @@ case $optb in esac pacman -S $packb --noconfirm +##Audio y video +optc=`dialog --stdout --checklist "Audio y Video" 0 0 6 1 "VLC (Recomendado)" on 2 "SMPlayer" off 3 "Totem" off 4 "Clementine" off 5 "Banshee" off` + +case $optc in + *1*) + packc="vlc";;& + *2*) + packc="$packc smplayer";;& + *3*) + packc="$packc totem";;& + *4*) + packc="$packc clementine";;& + *5*) + packc="$packc banshee";;& +esac +pacman -S $packc --noconfirm + +##Utilidades varias +optd=`dialog --stdout --checklist "Utilidades varias" 0 0 7 1 "Dropbox" off 2 "MEGA" off 3 "Visor de correo Geary" off 4 "Grabador de discos (k3b) off` + +case $optd in + *1*) + packd="dropbox";;& + *2*) + packd="$packd megasync";;& + *3*) + packd="$packd geary";;& + *4*) + packd="$packd k3b";;& +esac +pacman -S $packd --noconfirm + } function entorno {