Update 0-preinstall.sh
This commit is contained in:
parent
ef50037ece
commit
cb40b27d3a
|
|
@ -39,7 +39,12 @@ echo -ne "
|
||||||
Setting up $iso mirrors for faster downloads
|
Setting up $iso mirrors for faster downloads
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
"
|
"
|
||||||
reflector --age 48 -c GB,IS --connection-timeout 1 --download-timeout 5 --score 20 --sort rate -n 20 --save /etc/pacman.d/mirrorlist
|
if [[ "${ISO}" == "FO" ]]; then
|
||||||
|
reflector --age 48 -c GB,IS --connection-timeout 1 --download-timeout 5 --score 20 --sort rate -n 20 --save /etc/pacman.d/mirrorlist
|
||||||
|
else
|
||||||
|
reflector -a 48 -c $iso -f 5 -l 20 --sort rate --save /etc/pacman.d/mirrorlist
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir /mnt &>/dev/null # Hiding error message if any
|
mkdir /mnt &>/dev/null # Hiding error message if any
|
||||||
echo -ne "
|
echo -ne "
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue