mirror of
https://github.com/eoli3n/archiso-zfs.git
synced 2025-12-06 07:02:00 +01:00
fix archive test
This commit is contained in:
parent
e2950465a9
commit
3a114224c0
4
init
4
init
|
|
@ -52,10 +52,10 @@ init_archlinux_archive () {
|
||||||
# Returns False if repo does not exists
|
# Returns False if repo does not exists
|
||||||
|
|
||||||
# Set repo
|
# Set repo
|
||||||
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" && echo "Server=$repo\$repo/os/\$arch" > /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue