mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-23 13:33:45 +01:00
changes (DEV)
This commit is contained in:
@@ -377,8 +377,7 @@ allpackages=$allpackages" "$pak
|
|||||||
$pak="ntpd"
|
$pak="ntpd"
|
||||||
allpackages=$allpackages" "$pak
|
allpackages=$allpackages" "$pak
|
||||||
|
|
||||||
##GUI and apps
|
##GUI and apps selected in "entorno{}"
|
||||||
|
|
||||||
|
|
||||||
#Here, allpackages have the user selected packages because selected before.
|
#Here, allpackages have the user selected packages because selected before.
|
||||||
|
|
||||||
@@ -406,7 +405,7 @@ echo "Clock will not be okay until restart and configure manually because you do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
#usuarios
|
#users
|
||||||
if [[ $isoffline = 1 ]];then # Is an offline installation?
|
if [[ $isoffline = 1 ]];then # Is an offline installation?
|
||||||
tar xJf mods/skel.tar.xz -C /mnt/
|
tar xJf mods/skel.tar.xz -C /mnt/
|
||||||
else #online
|
else #online
|
||||||
@@ -467,12 +466,12 @@ if [[ $inswine = 1 ]];then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
### Set X11 keyboard ###
|
# Set X11 keyboard
|
||||||
if [[ $optentorno != 7 ]];then
|
if [[ $optentorno != 7 ]];then
|
||||||
keyboardlayout
|
keyboardlayout
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Install and configure bootloader
|
#Install and configure bootloader GRUB/rEFInd
|
||||||
if [[ -z $partefi ]];then #If it dont have EFI
|
if [[ -z $partefi ]];then #If it dont have EFI
|
||||||
case $optboot in
|
case $optboot in
|
||||||
1)
|
1)
|
||||||
@@ -514,8 +513,7 @@ echo "JKArch" > /mnt/etc/hostname
|
|||||||
#Linux
|
#Linux
|
||||||
execl chroot mkinitcpio -p linux #Hacemos el mkinitcpio después de tener instalados los gráficos
|
execl chroot mkinitcpio -p linux #Hacemos el mkinitcpio después de tener instalados los gráficos
|
||||||
|
|
||||||
#GRUB/rEFInd
|
|
||||||
bootinstall
|
|
||||||
|
|
||||||
#Tweaks
|
#Tweaks
|
||||||
echo "$(T "Last tweaks and cleaning")"
|
echo "$(T "Last tweaks and cleaning")"
|
||||||
@@ -834,7 +832,7 @@ echo ' Option "XkbLayout" "'$langabr'"' >> /mnt/etc/X11/xorg.conf.d/00-keyboa
|
|||||||
echo 'EndSection' >> /mnt/etc/X11/xorg.conf.d/00-keyboard.conf
|
echo 'EndSection' >> /mnt/etc/X11/xorg.conf.d/00-keyboard.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
function bootinstall {
|
function bootselect {
|
||||||
|
|
||||||
if [[ -z $partefi ]];then
|
if [[ -z $partefi ]];then
|
||||||
#Si no usa EFI, preguntar por instalar GRUB
|
#Si no usa EFI, preguntar por instalar GRUB
|
||||||
@@ -842,8 +840,7 @@ if [[ -z $partefi ]];then
|
|||||||
case $optboot in
|
case $optboot in
|
||||||
2)
|
2)
|
||||||
#No hará nada
|
#No hará nada
|
||||||
##TODO DIALOG##
|
mostrardialog "Bootloader" "$(T "No new bootloader will be installed")"
|
||||||
echo "$(T "No new bootloader installed")"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
@@ -852,8 +849,7 @@ else
|
|||||||
case $optboot in
|
case $optboot in
|
||||||
3)
|
3)
|
||||||
#No hará nada
|
#No hará nada
|
||||||
##TODO DIALOG##
|
mostrardialog "Bootloader" "$(T "No new bootloader will be installed")"
|
||||||
echo "$(T "No new bootloader installed")"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
@@ -899,6 +895,9 @@ fi
|
|||||||
#Se crea el usuario despues del entorno pero antes de instalar más (para una correcta configuración) y se añaden los ficheros de configuracion de skel
|
#Se crea el usuario despues del entorno pero antes de instalar más (para una correcta configuración) y se añaden los ficheros de configuracion de skel
|
||||||
userpass
|
userpass
|
||||||
|
|
||||||
|
#GRUB/rEFInd select
|
||||||
|
bootselect
|
||||||
|
|
||||||
clear
|
clear
|
||||||
# Resumen de los cambios
|
# Resumen de los cambios
|
||||||
tput setaf 6
|
tput setaf 6
|
||||||
|
|||||||
@@ -274,7 +274,12 @@ case "$1" in
|
|||||||
esac;;
|
esac;;
|
||||||
"No new bootloader installed")
|
"No new bootloader installed")
|
||||||
case $sclang in
|
case $sclang in
|
||||||
"es") echo "No se ha instalado ningun gestor de arranque en el sistema";;
|
"es") echo "No se ha instalado ningun gestor de arranque nuevo en el sistema";;
|
||||||
|
*) echo "$1";;
|
||||||
|
esac;;
|
||||||
|
"No new bootloader will be installed")
|
||||||
|
case $sclang in
|
||||||
|
"es") echo "No se instalara ningun gestor de arranque nuevo en el sistema";;
|
||||||
*) echo "$1";;
|
*) echo "$1";;
|
||||||
esac;;
|
esac;;
|
||||||
"Other configs")
|
"Other configs")
|
||||||
|
|||||||
Reference in New Issue
Block a user