Zen installer fail

It has been brought to my attention that zen installer script is not working. The script was a bit of hack to start with. All it does is tests for a working network connection then locates your country based on ip address and try to set up mirrorlist. The zif script is then downloaded and run.

Edit your mirrorlist via config_edit script

Remove these lines from zen-installer script (in ~/Scripts)

# edit local mirrors
# maybe run rankmirrors instead? as there is no easy way to check for configured mirrors...
sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.ab

# find nearest country to your location
GPS=$(curl -s ipinfo.io/country)

# create a url based on above
URL="https://www.archlinux.org/mirrorlist/?country=${GPS}&protocol=https&use_mirror_status=on"

# create a mirrorlist based on top five via rankmirrors
curl -s ${URL} | sed -e 's/^#Server/Server/' -e '/^#/d' | rankmirrors -n 5 - > mirrorlist
sudo mv mirrorlist /etc/pacman.d/

Run from main menu as normal.

Hope it helps.