From 1714deec303e1690184c2cd1a2922957326d41e9 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Fri, 11 Nov 2022 23:59:12 +0100 Subject: [PATCH] pacman-key management --- archfi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/archfi b/archfi index 1068005..ccf5801 100644 --- a/archfi +++ b/archfi @@ -2073,7 +2073,9 @@ if [ "${chroot}" = "1" ]; then 'archdilaunch') archdilaunchchroot;; esac else - pacman-key -u + if (! pacman-key -u); then + pacman-key --init + fi pacman -Sy --needed arch-install-scripts dialog dmesg |grep efi: > /dev/null if [ "$?" == "1" ]; then