mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-19 19:51:32 +01:00
changes
This commit is contained in:
@@ -83,51 +83,48 @@ esac
|
|||||||
}
|
}
|
||||||
|
|
||||||
function programasuser {
|
function programasuser {
|
||||||
|
clear
|
||||||
echo "Ahora customizaremos e instalaremos programas que desee. Puede seleccionar 'cancelar' en cualquier apartado para no instalar ninguno"
|
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"
|
echo "Se seleccionan o des seleccionan con la tecla espacio, y con el enter se acepta la selección"
|
||||||
pause
|
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`
|
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
|
case $opta in
|
||||||
1)
|
*1*)
|
||||||
pacman -S firefox --noconfirm
|
packa="firefox";;
|
||||||
;;
|
*2*)
|
||||||
2)
|
packa="$packa google-chrome";;
|
||||||
pacman -S google-chrome --noconfirm
|
*3*)
|
||||||
;;
|
packa="$packa chromium";;
|
||||||
3)
|
*4*)
|
||||||
pacman -S chromium --noconfirm
|
packa="$packa opera";;
|
||||||
;;
|
*5*)
|
||||||
4)
|
packa="$packa otter-browser";;
|
||||||
pacman -S opera --noconfirm
|
|
||||||
;;
|
|
||||||
5)
|
|
||||||
pacman -S otter-browser --noconfirm
|
|
||||||
;;
|
|
||||||
esac
|
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`
|
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
|
case $optb in
|
||||||
1)
|
*1*)
|
||||||
pacman -S libreoffice-fresh --noconfirm
|
pacman -S libreoffice-fresh --noconfirm
|
||||||
;;
|
;;
|
||||||
2)
|
*2*)
|
||||||
pacman -S abiword --noconfirm
|
pacman -S abiword --noconfirm
|
||||||
;;
|
;;
|
||||||
3)
|
*3*)
|
||||||
pacman -S gnumeric --noconfirm
|
pacman -S gnumeric --noconfirm
|
||||||
;;
|
;;
|
||||||
4)
|
*4*)
|
||||||
pacman -S wps-office --noconfirm
|
pacman -S wps-office --noconfirm
|
||||||
;;
|
;;
|
||||||
5)
|
*5*)
|
||||||
pacman -S leafpad --noconfirm
|
pacman -S leafpad --noconfirm
|
||||||
;;
|
;;
|
||||||
6)
|
*6*)
|
||||||
pacman -S gedit --noconfirm
|
pacman -S gedit --noconfirm
|
||||||
;;
|
;;
|
||||||
7)
|
*7*)
|
||||||
pacman -S notepadqq --noconfirm
|
pacman -S notepadqq --noconfirm
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -136,8 +133,7 @@ esac
|
|||||||
|
|
||||||
function entorno {
|
function entorno {
|
||||||
clear
|
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 practico)" 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 práctico)" 5 "No instalar nada, solo la terminal de comandos"`
|
|
||||||
|
|
||||||
case $optentorno in
|
case $optentorno in
|
||||||
1)
|
1)
|
||||||
|
|||||||
Reference in New Issue
Block a user