diff options
Diffstat (limited to 'libexec')
-rwxr-xr-x | libexec/container/key | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libexec/container/key b/libexec/container/key index 6c9c8c1..19b7fa9 100755 --- a/libexec/container/key +++ b/libexec/container/key @@ -143,6 +143,12 @@ case "${ACTION}" in if [ -e "${ADD}" ] then gpg --homedir "${KEYS}" --import "${ADD}" + elif [ -e "/usr/share/compute-tools/keys/${ADD}" ] + then + gpg --homedir "${KEYS}" --import "/usr/share/compute-tools/keys/${ADD}" + elif [ -e "/usr/share/compute-tools/keys/${ADD}.pub" ] + then + gpg --homedir "${KEYS}" --import "/usr/share/compute-tools/keys/${ADD}.pub" else gpg --homedir "${KEYS}" --recv "${ADD}" fi |