mirror of
https://github.com/eoli3n/archiso-zfs.git
synced 2026-01-04 07:40:02 +01:00
pacman -Sy
This commit is contained in:
parent
fd534e9e8a
commit
e595441e43
2
init
2
init
|
|
@ -44,6 +44,7 @@ EOF
|
|||
|
||||
pacman-key --recv-keys F75D9D76 2>/dev/null
|
||||
pacman-key --lsign-key F75D9D76 2>/dev/null
|
||||
pacman -Sy
|
||||
}
|
||||
|
||||
init_archlinux_archive () {
|
||||
|
|
@ -52,6 +53,7 @@ init_archlinux_archive () {
|
|||
|
||||
# Set repo
|
||||
repo="Server=https://archive.archlinux.org/repos/$1/\$repo/os/\$arch"
|
||||
pacman -Syy
|
||||
|
||||
# If repo exists, set it, if not, return False
|
||||
curl -s "$repo" && echo "$repo" > /etc/pacman.d/mirrorlist || return 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue