OSDN Git Service
(root)
/
alterlinux
/
alterlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90e3607
)
[fix] : pacman-key --populate
author
hayao
<shun819.mail@gmail.com>
Sun, 15 Nov 2020 06:55:51 +0000
(15:55 +0900)
committer
hayao
<shun819.mail@gmail.com>
Sun, 15 Nov 2020 06:55:51 +0000
(15:55 +0900)
system/aur.sh
patch
|
blob
|
history
diff --git
a/system/aur.sh
b/system/aur.sh
index
b3f73cb
..
2c612e1
100755
(executable)
--- 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