mirror of
https://github.com/eoli3n/archiso-zfs.git
synced 2026-04-21 06:03:42 +00:00
fix archive function
This commit is contained in:
parent
8f6e0e33da
commit
a0e075ee25
1 changed files with 2 additions and 3 deletions
5
init
5
init
|
|
@ -52,11 +52,10 @@ init_archlinux_archive () {
|
|||
# Returns False if repo does not exists
|
||||
|
||||
# Set repo
|
||||
repo="Server=https://archive.archlinux.org/repos/$1/\$repo/os/\$arch"
|
||||
pacman -Syy --quiet
|
||||
repo="https://archive.archlinux.org/repos/$1/\$repo/os/\$arch"
|
||||
|
||||
# If repo exists, set it
|
||||
curl -s "$repo" && echo "$repo" > /etc/pacman.d/mirrorlist
|
||||
curl -s "$repo" && echo "Server=$repo" > /etc/pacman.d/mirrorlist
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue