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

fix reflector using more times than needed

This commit is contained in:
2017-01-22 22:31:44 +01:00
parent ffd7fac5bd
commit df184fa37d

View File

@@ -412,10 +412,8 @@ function installconf {
fi
# Download or install base system.
wget -nv https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/pacman.conf -O pacman.conf
wget -nv https://gitlab.com/JKANetwork/JKArch/raw/master/installer/pacman.conf -O pacman.conf
isanetworkerror # Comprueba si hubo un error de descarga
tput setaf 2 ; echo "$(T "Optimizing download")" ; tput setaf 9
execl reflector --verbose -l 6 --sort rate --save /etc/pacman.d/mirrorlist
tput setaf 2 ; echo "$(T "Downloading")" ; tput setaf 9
# Reflector and rsync is for updating mirrorlist #
execl pacman -Sy archlinux-keyring --noconfirm #Keyring for avoid fail sig of some packages