From 51e0ac05884a3c9f5ba1a20003f75366998a7aad Mon Sep 17 00:00:00 2001 From: Danneman92 <31633475+Danneman92@users.noreply.github.com> Date: Fri, 26 Aug 2022 16:36:31 +0100 Subject: [PATCH] Update 0-preinstall.sh --- scripts/0-preinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/0-preinstall.sh b/scripts/0-preinstall.sh index b721892..9eae31d 100755 --- a/scripts/0-preinstall.sh +++ b/scripts/0-preinstall.sh @@ -39,7 +39,7 @@ echo -ne " Setting up $iso mirrors for faster downloads ------------------------------------------------------------------------- " -if [[ "${ISO}" == "FO" ]]; then +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