mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-18 19:21:32 +01:00
fix reflector using more times than needed
This commit is contained in:
@@ -412,10 +412,8 @@ function installconf {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Download or install base system.
|
# 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
|
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
|
tput setaf 2 ; echo "$(T "Downloading")" ; tput setaf 9
|
||||||
# Reflector and rsync is for updating mirrorlist #
|
# Reflector and rsync is for updating mirrorlist #
|
||||||
execl pacman -Sy archlinux-keyring --noconfirm #Keyring for avoid fail sig of some packages
|
execl pacman -Sy archlinux-keyring --noconfirm #Keyring for avoid fail sig of some packages
|
||||||
|
|||||||
Reference in New Issue
Block a user