mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-12-06 01:38:23 +01:00
rewrite
This commit is contained in:
1 parent
0c98753d3f
commit
3cc53ab802
15 files changed
+2
-75
No files matched your search
@@ -8,4 +8,4 @@ Intentamos hacer Linux utilizable por cualquiera, aunque no tenga casi experienc
|
||||
|
||||
-
|
||||
|
||||
Aquí solo se encuentran los scripts de instalacion y ciertas modificaciones de la iso
|
||||
Aquí solo se encuentran los scripts de instalacion y ciertas modificaciones
|
||||
@@ -479,8 +479,7 @@ function installconf {
|
||||
execl chroot systemctl enable ntpd
|
||||
|
||||
# User and desktop skel
|
||||
wget -nv https://gitlab.com/JKANetwork/JKArch/raw/master/mods/skel.tar.xz -O- | tar xJf - -C /mnt/
|
||||
wget -nv https://gitlab.com/JKANetwork/JKArch/raw/master/mods/MATE.tar.xz -O- | tar xJf - -C /mnt/
|
||||
wget -nv https://gitlab.com/JKANetwork/JKArch/raw/master/installer/skeluser.tar.xz -O- | tar xJf - -C /mnt/
|
||||
|
||||
# Create user
|
||||
execl chroot useradd -m -G wheel -s /bin/bash $nameuser
|
||||
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,72 +0,0 @@
|
||||
#!/bin/bash
|
||||
function pause {
|
||||
echo "Pulse enter para continuar..."
|
||||
read
|
||||
}
|
||||
|
||||
function mostrardialog {
|
||||
local titled
|
||||
local msgd
|
||||
titled=$1
|
||||
msgd=$2
|
||||
Xdialog --title "$titled" --msgbox "$msgd" 15 60
|
||||
}
|
||||
|
||||
## ESTA EN PROCESO, ESTE SCRIPT NO HACE NADA ACTUALMENTE
|
||||
exit
|
||||
|
||||
optb=`dialog --stdout --checklist "¿Editores de texto y/o office?" 0 0 6 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*)
|
||||
packb="libreoffice-fresh";;&
|
||||
*2*)
|
||||
packb="$packb abiword";;&
|
||||
*3*)
|
||||
packb="$packb gnumeric";;&
|
||||
*4*)
|
||||
packb="$packb wps-office";;&
|
||||
*5*)
|
||||
packb="$packb leafpad";;&
|
||||
*6*)
|
||||
packb="$packb gedit";;&
|
||||
*7*)
|
||||
packb="$packb notepadqq";;&
|
||||
esac
|
||||
pacman -S $packb --noconfirm
|
||||
|
||||
clear
|
||||
optentorno=`dialog --stdout --nocancel --menu "Escoje tu entorno de escritorio" 0 0 5 1 "LXDE (Muy liviano)" 2 "XFCE (Liviano y bonito)" 3 "Cinnamon (Facil para antiguos usuarios de Windows)" 4 "Gnome (Complejo, pero practico)" 5 "Plasma/KDE (Pesado aunque bonito) " 6 "No instalar nada, solo la terminal de comandos"`
|
||||
|
||||
case $optentorno in
|
||||
1)
|
||||
pacman -S lxde --noconfirm
|
||||
#Quitar paquetes no necesarios para correr lxde
|
||||
pacman -R lxmusic lxlauncher lxdm --noconfirm
|
||||
instentorno=1
|
||||
break
|
||||
;;
|
||||
2)
|
||||
pacman -S xfce4 --noconfirm
|
||||
instentorno=1
|
||||
break
|
||||
;;
|
||||
3)
|
||||
pacman -S cinnamon --noconfirm
|
||||
instentorno=1
|
||||
break
|
||||
;;
|
||||
4)
|
||||
pacman -S gnome --noconfirm
|
||||
instentorno=1
|
||||
break
|
||||
;;
|
||||
5)
|
||||
pacman -S plasma --noconfirm
|
||||
pacman -R plasma-mediacenter ksshaskpass --noconfirm
|
||||
instentorno=1
|
||||
break
|
||||
;;
|
||||
6)
|
||||
break
|
||||
;;
|
||||
esac
|
||||
Reference in new issue
Block a user