From d90488fe66289fbd157c98b02cffb9fca864692f Mon Sep 17 00:00:00 2001 From: hayao Date: Sun, 15 Nov 2020 15:55:51 +0900 Subject: [PATCH] [fix] : pacman-key --populate --- system/aur.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/aur.sh b/system/aur.sh index b3f73cbb..2c612e1c 100755 --- a/system/aur.sh +++ b/system/aur.sh @@ -47,7 +47,8 @@ echo "aurbuild ALL=(ALL) NOPASSWD:ALL" > "/etc/sudoers.d/aurbuild" # Setup keyring pacman-key --init -eval $(cat "/etc/systemd/system/pacman-init.service" | grep 'ExecStart' | sed "s|ExecStart=||g" ) +#eval $(cat "/etc/systemd/system/pacman-init.service" | grep 'ExecStart' | sed "s|ExecStart=||g" ) +ls "/usr/share/pacman/keyrings/"*".gpg" | sed "s|.gpg||g" | xargs | pacman-key --populate # Build and install -- 2.11.0