Skip to content

Commit

Permalink
Added Command for Fastest Mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
muditporwal committed Sep 27, 2023
1 parent 9f48ac6 commit 73bcab9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions run_once_040_update_system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
# Getting to the context directory
cd ~/.local/share/chezmoi/setup

echo "Finding Fastest Mirror for Singapore(Please update command if change in location)"
sudo pacman-mirrors --fasttrack
sudo reflector --country 'Singapore' --latest 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
sudo pacman -Syy
echo "Completed Finding Fastest Mirror"

# echo "-----------------------------------------------------------------------------"
echo "Updating packages before install"
sudo pacman -Syyu 1>/dev/null 2>&1
echo "Completed updating packages before install"
echo "-----------------------------------------------------------------------------"

0 comments on commit 73bcab9

Please sign in to comment.