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 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
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"
fatalerror "$(T "Network connection error, please check it")"
fi
tput setaf 2 ; echo "Optimizando la descarga..." ; tput setaf 9
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/
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/chrootinstall.sh -O /mnt/root/inst/chrootinstall.sh
if [[ $? != 0 ]];then
fatalerror "Error de conexion con internet, compruebe la red"
fatalerror "$(T "Network connection error, please check it")"
fi
chmod +x /mnt/root/inst/chrootinstall.sh
genfstab -U /mnt >> /mnt/etc/fstab

View File

@@ -56,6 +56,8 @@ case "$1" in
echo "Fin";;
"Setup finished, press enter to reboot.")
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";;
esac
@@ -117,7 +119,8 @@ case "$1" in
echo "$1";;
"Setup finished, press enter to reboot.")
echo "$1";;
"Network connection error, please check it")
echo "$1";;
*)
translate_es "$1";;
esac