Skip to content

Commit

Permalink
Add rate mirrors headsup (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevithakannan2 authored Sep 19, 2024
1 parent 197f359 commit 23156bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tabs/system-setup/system-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ fastUpdate() {
case "$PACKAGER" in
pacman)

$AUR_HELPER -S --needed --noconfirm rate-mirrors-bin
$AUR_HELPER -S --needed --noconfirm rate-mirrors-bin

printf "%b\n" "${YELLOW}Generating a new list of mirrors using rate-mirrors. This process may take a few seconds...${RC}"

if [ -s /etc/pacman.d/mirrorlist ]; then
"$ESCALATION_TOOL" cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
Expand Down Expand Up @@ -100,4 +102,4 @@ checkAURHelper
checkEscalationTool
fastUpdate
updateSystem
updateFlatpaks
updateFlatpaks

0 comments on commit 23156bc

Please sign in to comment.