1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-17 18:51:32 +01:00
This commit is contained in:
kprkpr
2016-06-05 21:10:13 +02:00
parent 9a17368987
commit a5cfe9f755
3 changed files with 22 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ dialog --title "$titled" --msgbox "$msgd" 15 60
function fatalerror {
razon=$1
mostrardialog "Error fatal" "Ha occurrido un error fatal, la instalacion se va a detener \n Razon: $razon"
mostrardialog "Error" "$(T "An error has ocurred, setup will be stopped") $razon"
exit
}
@@ -37,7 +37,7 @@ optpa=`dialog --stdout --nocancel --menu "$(T "¿Do you want to edit partitions?
case $optpa in
1)
#Abrir gparted grafico
mostrardialog "Gparted" "Se abrira Gparted. Con el puedes editar, borrar,añadir y poner a tu gusto graficamente las particiones. \n Recuerda que al menos debe haber una particion ext4 primaria para el sistema. \n (Nota: No monte ninguna particion)"
mostrardialog "Gparted" "$(T "Gparted will be opened. Help text")"
startx;;
2)
#Terminal
@@ -207,7 +207,7 @@ fatalerror "$(T "Network connection error, please check it")"
fi
tput setaf 2 ; echo "$(T "Optimizing download")" ; tput setaf 9
reflector --verbose -l 6 --sort rate --save /etc/pacman.d/mirrorlist
tput setaf 2 ; echo "Descargando..." ; tput setaf 9
tput setaf 2 ; echo "$(T "Downloading")" ; tput setaf 9
pacstrap -C /tmp/pacman.conf /mnt/ base btrfs-progs
mkdir -p /mnt/root/inst/
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O /mnt/root/inst/chrootinstall.sh