mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-14 02:27:03 -07:00
Ranking the download mirrors
This commit is contained in:
parent
ffea8b6597
commit
d9049b22a1
1 changed files with 8 additions and 0 deletions
|
@ -8,6 +8,14 @@ if [ \( ! -f /ps/installed64.txt -a "$MSYSTEM" == "MINGW64" \) ]; then
|
|||
if [ "$MAYBE_FIRST_START" = "true" ]; then
|
||||
yes | pacman -Syuu
|
||||
else
|
||||
if [ -z "$PSSKIPRANKING" ]; then
|
||||
echo "Ranking download mirrors"
|
||||
cp /etc/pacman.d/mirrorlist.mingw64 /etc/pacman.d/mirrorlist.mingw64.backup
|
||||
cp /etc/pacman.d/mirrorlist.msys /etc/pacman.d/mirrorlist.msys.backup
|
||||
rankmirrors --repo mingw64 /etc/pacman.d/mirrorlist.mingw64.backup > /etc/pacman.d/mirrorlist.mingw64
|
||||
rankmirrors --repo msys /etc/pacman.d/mirrorlist.msys.backup > /etc/pacman.d/mirrorlist.msys
|
||||
fi
|
||||
|
||||
yes | pacman -Su
|
||||
ps-setup
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue