mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-15 17:51:33 +01:00
changes
This commit is contained in:
@@ -83,51 +83,48 @@ esac
|
||||
}
|
||||
|
||||
function programasuser {
|
||||
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`
|
||||
|
||||
case $opta in
|
||||
1)
|
||||
pacman -S firefox --noconfirm
|
||||
;;
|
||||
2)
|
||||
pacman -S google-chrome --noconfirm
|
||||
;;
|
||||
3)
|
||||
pacman -S chromium --noconfirm
|
||||
;;
|
||||
4)
|
||||
pacman -S opera --noconfirm
|
||||
;;
|
||||
5)
|
||||
pacman -S otter-browser --noconfirm
|
||||
;;
|
||||
*1*)
|
||||
packa="firefox";;
|
||||
*2*)
|
||||
packa="$packa google-chrome";;
|
||||
*3*)
|
||||
packa="$packa chromium";;
|
||||
*4*)
|
||||
packa="$packa opera";;
|
||||
*5*)
|
||||
packa="$packa otter-browser";;
|
||||
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`
|
||||
|
||||
case $optb in
|
||||
1)
|
||||
*1*)
|
||||
pacman -S libreoffice-fresh --noconfirm
|
||||
;;
|
||||
2)
|
||||
*2*)
|
||||
pacman -S abiword --noconfirm
|
||||
;;
|
||||
3)
|
||||
*3*)
|
||||
pacman -S gnumeric --noconfirm
|
||||
;;
|
||||
4)
|
||||
*4*)
|
||||
pacman -S wps-office --noconfirm
|
||||
;;
|
||||
5)
|
||||
*5*)
|
||||
pacman -S leafpad --noconfirm
|
||||
;;
|
||||
6)
|
||||
*6*)
|
||||
pacman -S gedit --noconfirm
|
||||
;;
|
||||
7)
|
||||
*7*)
|
||||
pacman -S notepadqq --noconfirm
|
||||
;;
|
||||
esac
|
||||
@@ -136,8 +133,7 @@ esac
|
||||
|
||||
function entorno {
|
||||
clear
|
||||
#optentorno=`dialog --stdout --checklist "Choose your favorite distribution:" 10 40 3 1 RedHat on 2 "Ubuntu Linux" off 3 Slackware off`
|
||||
optentorno=`dialog --stdout --nocancel --menu "Escoje tu entorno de escritorio" 0 0 5 1 "LXDE (Liviano)" 2 "XFCE (Liviano pero bonito)" 3 "Cinnamon (Facil para antiguos usuarios de Windows)" 4 "Gnome (Complejo, pero práctico)" 5 "No instalar nada, solo la terminal de comandos"`
|
||||
optentorno=`dialog --stdout --nocancel --menu "Escoje tu entorno de escritorio" 0 0 5 1 "LXDE (Liviano)" 2 "XFCE (Liviano pero bonito)" 3 "Cinnamon (Facil para antiguos usuarios de Windows)" 4 "Gnome (Complejo, pero practico)" 5 "No instalar nada, solo la terminal de comandos"`
|
||||
|
||||
case $optentorno in
|
||||
1)
|
||||
|
||||
Reference in New Issue
Block a user