File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -188,7 +188,15 @@ run_in_chroot pacman-key --init
188188run_in_chroot pacman-key --populate archlinux
189189
190190# Add Chaotic-AUR repo
191- run_in_chroot pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
191+ if ! run_in_chroot pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com; then
192+ chaotic_keyring_extract_dir=" ${bootstrap} /tmp/chaotic-keyring"
193+ mkdir -p " ${chaotic_keyring_extract_dir} "
194+ curl -L --retry 3 -o " ${chaotic_keyring_extract_dir} /chaotic-keyring.pkg.tar.zst" " https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst"
195+ tar -xf " ${chaotic_keyring_extract_dir} /chaotic-keyring.pkg.tar.zst" -C " ${chaotic_keyring_extract_dir} "
196+ run_in_chroot pacman-key --add /tmp/chaotic-keyring/usr/share/pacman/keyrings/chaotic.gpg
197+ rm -rf " ${chaotic_keyring_extract_dir} "
198+ fi
199+
192200run_in_chroot pacman-key --lsign-key 3056513887B78AEB
193201
194202if ! run_in_chroot pacman --noconfirm -U \
You can’t perform that action at this time.
0 commit comments