Add waitBox in updateMirrors()
This commit is contained in:
parent
9ef49db8de
commit
261f13210e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue