From eaadf43327c8b6715dad470bacf18771c23d77bf Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Mon, 27 Dec 2021 00:18:44 -0300 Subject: [PATCH] Change mirrorlist path --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index d0e6ace..d144bd3 100755 --- a/install.sh +++ b/install.sh @@ -153,7 +153,7 @@ networkConf() { } askForPassword() { - password=$(whiptail --passwordbox "Enter the password for ${1}." 8 30 3>&1 1>&2 2>&3) + password=$(whiptail --passwordbox "Enter the password for ${1}." 8 40 3>&1 1>&2 2>&3) exitIfCancel "You must enter a password." "${2}" passwordRep=$(whiptail --passwordbox "Reenter password." 8 30 3>&1 1>&2 2>&3) exitIfCancel "You must enter a password." "${2}" @@ -176,7 +176,7 @@ updateMirrors() { runInChroot "cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup" local IFS=$'\n' setDelimiters "" "OFF" - formatOptions $(cat /mnt/etc/pacman.d/mirrorlist | grep '^##' | cut -d' ' -f2- | sed -n '5~1p') + formatOptions $(cat /mnt/etc/pacman.d/mirrorlist.pacnew | grep '^##' | cut -d' ' -f2- | sed -n '5~1p') countries=$(whiptail --title "Countries" --checklist "" 0 0 0 "${options[@]}" 3>&1 1>&2 2>&3) exitIfCancel "You must select at least one country." "updateMirrors" countriesFmt=$(echo "$countries" | sed -r 's/" "/,/g')