Don't include SALT-PROJECT-GPG-PUBKEY-2023.pub if it's not found.

This commit is contained in:
Gareth J. Greenaway 2023-03-30 17:21:59 -07:00
parent edd4b6fbe6
commit 4eaf22fc59
No known key found for this signature in database
GPG key ID: 10B62F8A7CAD7A41

View file

@ -4556,7 +4556,7 @@ __install_saltstack_rhel_onedir_repository() {
if [ "${DISTRO_MAJOR_VERSION}" -eq 9 ]; then
gpg_key="SALTSTACK-GPG-KEY2.pub"
else
gpg_key="SALTSTACK-GPG-KEY.pub SALT-PROJECT-GPG-PUBKEY-2023.pub"
gpg_key="SALTSTACK-GPG-KEY.pub"
fi
fi
else
@ -6729,6 +6729,12 @@ install_arch_check_services() {
return 0
}
install_arch_linux_onedir() {
install_arch_linux_stable || return 1
return 0
}
#
# Ended Arch Install Functions
#