mirror of
https://git.myvelabs.com/lab/archlinux.git
synced 2025-12-17 21:26:25 +00:00
Update mirrorlist url
This commit is contained in:
parent
36ad41a2fc
commit
e62bbcd2cb
2 changed files with 3 additions and 2 deletions
|
|
@ -108,7 +108,7 @@ sed -e "/Color/c Color" \
|
|||
if nc -z -w 1 archlinux.org 443 >/dev/null 2>&1 || nc -z -w 1 google.com 443 >/dev/null 2>&1
|
||||
then
|
||||
timedatectl set-ntp true
|
||||
curl --fail --silent https://git.myvelabs.com/lab/archlinux/raw/branch/master/mirrorlist -o /etc/pacman.d/mirrorlist || die "Unable to fetch latest mirrorlist"
|
||||
curl --fail --silent https://git.myvelabs.com/lab/mirrors/raw/branch/master/mirrorlist -o /etc/pacman.d/mirrorlist || die "Unable to fetch latest mirrorlist"
|
||||
else
|
||||
die 'No internet connectivity detected, try again'
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue