1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-17 02:31:32 +01:00
This commit is contained in:
kprkpr
2016-06-04 23:57:34 +02:00
parent e7020c286c
commit d1fe55dd6e
2 changed files with 6 additions and 3 deletions

View File

@@ -200,7 +200,7 @@ mount /dev/$partefi /mnt/boot/efi/
fi fi
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/pacman.conf -O /tmp/pacman.conf wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/pacman.conf -O /tmp/pacman.conf
if [[ $? != 0 ]];then if [[ $? != 0 ]];then
fatalerror "Error de conexion con internet, compruebe la red" fatalerror "$(T "Network connection error, please check it")"
fi fi
tput setaf 2 ; echo "Optimizando la descarga..." ; tput setaf 9 tput setaf 2 ; echo "Optimizando la descarga..." ; tput setaf 9
reflector --verbose -l 6 --sort rate --save /etc/pacman.d/mirrorlist reflector --verbose -l 6 --sort rate --save /etc/pacman.d/mirrorlist
@@ -209,7 +209,7 @@ pacstrap -C /tmp/pacman.conf /mnt/ base btrfs-progs
mkdir -p /mnt/root/inst/ mkdir -p /mnt/root/inst/
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O /mnt/root/inst/chrootinstall.sh wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O /mnt/root/inst/chrootinstall.sh
if [[ $? != 0 ]];then if [[ $? != 0 ]];then
fatalerror "Error de conexion con internet, compruebe la red" fatalerror "$(T "Network connection error, please check it")"
fi fi
chmod +x /mnt/root/inst/chrootinstall.sh chmod +x /mnt/root/inst/chrootinstall.sh
genfstab -U /mnt >> /mnt/etc/fstab genfstab -U /mnt >> /mnt/etc/fstab

View File

@@ -56,6 +56,8 @@ case "$1" in
echo "Fin";; echo "Fin";;
"Setup finished, press enter to reboot.") "Setup finished, press enter to reboot.")
echo "Instalación finalizada, al pulsar aceptar, se reiniciará el sistema";; echo "Instalación finalizada, al pulsar aceptar, se reiniciará el sistema";;
"Network connection error, please check it")
echo "Error de conexion con internet, compruebe la red";;
*) *)
echo "$1";; echo "$1";;
esac esac
@@ -117,7 +119,8 @@ case "$1" in
echo "$1";; echo "$1";;
"Setup finished, press enter to reboot.") "Setup finished, press enter to reboot.")
echo "$1";; echo "$1";;
"Network connection error, please check it")
echo "$1";;
*) *)
translate_es "$1";; translate_es "$1";;
esac esac