1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-16 18:21:33 +01:00
This commit is contained in:
kprkpr
2016-06-04 16:40:26 +02:00
parent b8c5e0097e
commit a99275c521

View File

@@ -2,7 +2,7 @@
sclang=$1
source translations.sh
#Try to disable ctrl+C
trap '' INT
#trap '' INT
function pause {
echo "$(T "Pause function")"
@@ -134,6 +134,7 @@ tput setaf 2 ; echo "Instalando el sistema, esto puede tardar unos 10 minutos, e
sleep 2
$formatoraiz /dev/$particionraiz
mount /dev/$particionraiz /mnt/
pause
if [[ $particionhome ]];then
$formatohome /dev/$particionhome
mkdir -p /mnt/home/
@@ -143,12 +144,13 @@ if [[ $partefi ]];then
mkdir -p /mnt/boot/efi
mount /dev/$partefi /mnt/boot/efi/
fi
pause
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/pacman.conf -O /tmp/pacman.conf
if [[ $? != 0 ]];then
fatalerror "Error de conexion con internet, compruebe la red"
fi
pacstrap -C /tmp/pacman.conf /mnt/ base btrfs-progs
pause
mkdir -p /mnt/root/inst/
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O /mnt/root/inst/chrootinstall.sh
if [[ $? != 0 ]];then