mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Init pacman keys if not done so previously
This commit is contained in:
parent
19276c53a8
commit
01b50db405
1 changed files with 4 additions and 0 deletions
|
@ -3316,6 +3316,10 @@ install_amazon_linux_ami_testing_post() {
|
|||
#
|
||||
install_arch_linux_stable_deps() {
|
||||
|
||||
if [ ! -f /etc/pacman.d/gnupg ]; then
|
||||
pacman-key --init && pacman-key --populate archlinux || return 1
|
||||
fi
|
||||
|
||||
if [ "$_UPGRADE_SYS" -eq $BS_TRUE ]; then
|
||||
pacman -Syyu --noconfirm --needed || return 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue