1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-17 10:41:32 +01:00
This commit is contained in:
kprkpr
2016-05-30 13:41:46 +02:00
parent f3a87b243e
commit 7b30bda613

View File

@@ -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 {