Add waitBox in updateMirrors()

This commit is contained in:
Santiago Lo Coco 2022-01-27 22:47:20 -03:00
parent 9ef49db8de
commit 261f13210e
1 changed files with 1 additions and 0 deletions

View File

@ -374,6 +374,7 @@ updateMirrors() {
calcHeightAndRun "whiptail --msgbox \"Now, we will update the mirror list by taking the most recently synchronized HTTPS mirrors sorted by download rate.\" HEIGHT 65"
whiptail --yesno "Would you like to choose your closest countries to narrow the search?" 0 0
if [ $? -eq 0 ]; then
printWaitBox
systemctl stop reflector.service
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
curl -o /etc/pacman.d/mirrorlist.pacnew https://archlinux.org/mirrorlist/all/ 2>&1 | debug