Skip to content

Commit

Permalink
Add rate mirrors headsup
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevithakannan2 committed Sep 11, 2024
1 parent c905aee commit 307403d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/commands/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 307403d

Please sign in to comment.