mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-15 01:31:32 +01:00
changes
This commit is contained in:
@@ -31,7 +31,6 @@ exit
|
||||
}
|
||||
|
||||
function downloadmods {
|
||||
#wget -nv https://gitlab.com/JKANetwork/JKArch/raw/master/mods/appearance.tar.xz -O /root/inst/appearance.tar.xz
|
||||
wget -nv https://gitlab.com/JKANetwork/JKArch/raw/master/mods/skel.tar.gz -O /root/inst/skel.tar.gz
|
||||
}
|
||||
|
||||
@@ -140,13 +139,14 @@ opt1="1 6"
|
||||
opt2="1 5"
|
||||
opt3="1"
|
||||
opt5="1"
|
||||
opt6="1 2"
|
||||
mostrardialog "Leer" "Ahora se le presenta la opcion de elegir que programas quieres que sean instalados, cosa que recomendamos, aunque, dejamos tambien una opcion rapida, que instalara lo basico y recomendado desde nuestro punto de vista."
|
||||
tipoinstall=`dialog --stdout --nocancel --menu "¿Elegir los programas que quiere?" 0 0 5 1 "Si, elegir (Muy recomendado)" 2 "No, opcion rapida (No recomendado)"`
|
||||
case $tipoinstall in
|
||||
1)
|
||||
until [[ $surep -eq 1 ]]
|
||||
do
|
||||
optprogramas=`dialog --stdout --nocancel --scrollbar --menu "Categorías" 0 0 7 1 "Navegadores web ($(echo $opt1 | wc -w) seleccionados)" 2 "Editores de texto y Office ($(echo $opt2 | wc -w) seleccionados)" 3 "Audio y Video ($(echo $opt3 | wc -w) seleccionados)" 4 "Imagen ($(echo $opt4 | wc -w) seleccionado)" 5 "Fuentes/Tipos de letra ($(echo $opt5 | wc -w) seleccionado)" 6 "Utilidades varias ($(echo $opt6 | wc -w) seleccionado)" I "Instalar"`
|
||||
optprogramas=`dialog --stdout --nocancel --scrollbar --menu "Categorías" 0 0 9 1 "Navegadores web ($(echo $opt1 | wc -w) seleccionados)" 2 "Editores de texto y Office ($(echo $opt2 | wc -w) seleccionados)" 3 "Audio y Video ($(echo $opt3 | wc -w) seleccionados)" 4 "Imagen ($(echo $opt4 | wc -w) seleccionado)" 5 "Fuentes/Tipos de letra ($(echo $opt5 | wc -w) seleccionado)" 6 "Visores ($(echo $opt6 | wc -w) seleccionado)" 7 "Soportes (Impresoras,Bluetooth...) ($(echo $opt6 | wc -w) seleccionado)" 8 "Utilidades varias ($(echo $opt7 | wc -w) seleccionado)" I "Instalar"`
|
||||
#Menu con cada una de las categorias
|
||||
case $optprogramas in
|
||||
1) opt1=`dialog --stdout --checklist "Anterior selección: $(echo $opt1)" 0 0 6 1 "Firefox" off 2 "Chrome" off 3 "Chromium" off 4 "Opera" off 5 "Otter Browser" off 6 "Soporte Flash Player" off`;;
|
||||
@@ -154,7 +154,9 @@ case $tipoinstall in
|
||||
3) opt3=`dialog --stdout --checklist "Anterior selección: $(echo $opt3)" 0 0 6 1 "VLC (Recomendado)" on 2 "SMPlayer" off 3 "Totem" off 4 "Clementine" off 5 "Banshee" off`;;
|
||||
4) opt4=`dialog --stdout --checklist "Anterior selección: $(echo $opt4)" 0 0 6 1 "GIMP" off 2 "Inkscape" off 3 "Pinta" off`;;
|
||||
5) opt5=`dialog --stdout --checklist "Anterior selección: $(echo $opt5)" 0 0 6 1 "noto-fonts (Muy recomendado)" off 2 "Microsoft Fonts" off 3 "Recopilatorio de fuentes de Google (mas de 300)" off`;;
|
||||
6) opt6=`dialog --stdout --scrollbar --checklist "Anterior selección: $(echo $opt2)" 0 0 8 1 "Dropbox" off 2 "MEGA" off 3 "Visor de correo Evolution" off 4 "Grabador de discos (k3b)" off 5 "Java (jre8)" off 6 "Wine ('Emulador' de programas de Windows)" off 7 "BleachBit (Limpiador de disco duro)" off`;;
|
||||
6) opt6=`dialog --stdout --checklist "Recomendado pulsar todos \nAnterior selección: $(echo $opt6)" 0 0 6 1 "Evince (PDF)" off 2 "Ristretto (imagenes como jpg,png...)" off`;;
|
||||
7) opt7=`dialog --stdout --checklist "Anterior selección: $(echo $opt7)" 0 0 6 1 "CUPS (Soporte impresoras)" off 2 "HPLIP (Soporte impresoras HP)" off 3 "Bluetooth" off`;;
|
||||
8) opt8=`dialog --stdout --scrollbar --checklist "Anterior selección: $(echo $opt8)" 0 0 8 1 "Dropbox" off 2 "MEGA" off 3 "Visor de correo Evolution" off 4 "Grabador de discos (k3b)" off 5 "Java (jre8)" off 6 "Wine ('Emulador' de programas de Windows)" off 7 "BleachBit (Limpiador de disco duro)" off`;;
|
||||
"I")
|
||||
#Instalar
|
||||
surep=1
|
||||
@@ -199,6 +201,15 @@ case $opt5 in
|
||||
*3*) packages="$packages ttf-google-fonts-git";;&
|
||||
esac
|
||||
case $opt6 in
|
||||
*1*) packages="$packages evince";;&
|
||||
*2*) packages="$packages ristretto";;&
|
||||
esac
|
||||
case $opt7 in
|
||||
*1*) packages="$packages cups cups-filters cups-filters";;&
|
||||
*2*) packages="$packages hplip";;&
|
||||
*3*) packages="$packages bluez bluez-utils bluez-cups bluez-firmware bluez-libs blueberry";;&
|
||||
esac
|
||||
case $opt8 in
|
||||
*1*) packages="$packages dropbox";;&
|
||||
*2*) packages="$packages megasync";;&
|
||||
*3*) packages="$packages geary";;&
|
||||
|
||||
Reference in New Issue
Block a user