1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-15 17:51:33 +01:00

Fix installer

This commit is contained in:
2017-02-11 21:24:24 +01:00
parent 2bfc4e8aab
commit a557b6e616

View File

@@ -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