mirror of
https://github.com/eoli3n/archiso-zfs.git
synced 2025-12-06 07:02:00 +01:00
quiet curl test archive
This commit is contained in:
parent
3a114224c0
commit
cb58ca61bd
2
init
2
init
|
|
@ -55,7 +55,7 @@ init_archlinux_archive () {
|
||||||
repo="https://archive.archlinux.org/repos/$1/"
|
repo="https://archive.archlinux.org/repos/$1/"
|
||||||
|
|
||||||
# If repo exists, set it
|
# If repo exists, set it
|
||||||
curl -s "$repo" && echo "Server=$repo\$repo/os/\$arch" > /etc/pacman.d/mirrorlist
|
curl -s "$repo" &>/dev/null && echo "Server=$repo\$repo/os/\$arch" > /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue