From a2399631977e0cf9e3f7ac2adc239032e2ae4850 Mon Sep 17 00:00:00 2001 From: natemaia Date: Sat, 15 Oct 2022 13:28:55 -0700 Subject: [PATCH] Put updating after key check --- installer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer b/installer index 6321865..b53322f 100755 --- a/installer +++ b/installer @@ -2031,12 +2031,12 @@ install_check_bg() cp -f /etc/pacman.d/mirrorlist "$MNT/etc/pacman.d/" al_repo "$MNT/etc/pacman.conf" { - chrun "pacman -Syyu --noconfirm" if pacman-key --list-keys | grep -q "expired.*Nathaniel Maia" || ! pacman-key --list-keys | grep -q "$key"; then chrun "pacman-key --recv-keys '$key'" chrun "pacman-key --finger '$key'" chrun "pacman-key --lsign-key '$key'" fi + chrun "pacman -Syyu --noconfirm" chrun "pacman -S archlinux-keyring archlabs-keyring --noconfirm" chrun "pacman -S ${ISO_PKGS[*]} $luks $NET_TYPE --noconfirm --needed"