From a557b6e6162398d8946093c626f019b48ade9f47 Mon Sep 17 00:00:00 2001 From: JKANetwork Date: Sat, 11 Feb 2017 21:24:24 +0100 Subject: [PATCH] Fix installer --- installer/installer.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/installer/installer.sh b/installer/installer.sh index e9974c7..d5e7784 100755 --- a/installer/installer.sh +++ b/installer/installer.sh @@ -426,14 +426,16 @@ function installconf { fi # Download or install base system. - wget -nv https://gitlab.com/JKANetwork/JKArch/raw/master/installer/pacman.conf -O pacman.conf + execl wget -nv https://gitlab.com/JKANetwork/JKArch/raw/master/installer/pacman.conf -O pacman.conf #JKArch Mirrorlist needed - wget -nv https://mirror.jkanetwork.com/Arch-repository/jkarch-mirrorlist -O /etc/pacman.d/jkarch-mirrorlist + execl wget -nv https://mirror.jkanetwork.com/Arch-repository/jkarch-mirrorlist -O /etc/pacman.d/jkarch-mirrorlist isanetworkerror # Comprueba si hubo un error de descarga tput setaf 2 ; echo "$(T "Downloading")" ; tput setaf 9 #Install base and disk format drivers. Reflector and rsync is for updating mirrorlist later execl pacstrap -C pacman.conf /mnt/ base jkarch-mirrorlist reflector rsync dosfstools ntfs-3g btrfs-progs exfat-utils pacmanerror + # Copy pacman.conf + execl cp pacman.conf /mnt/etc/pacman.conf # Create fstab execl genfstab -U /mnt > /mnt/etc/fstab