summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlibexec/container/key8
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/container/key b/libexec/container/key
index 5deff0d..efd214e 100755
--- a/libexec/container/key
+++ b/libexec/container/key
@@ -146,12 +146,12 @@ case "${ACTION}" in
if [ -e "${ADD}" ]
then
gpg --homedir "${KEYS}" --import "${ADD}"
- elif [ -e "/usr/share/compute-tools/keys/${ADD}" ]
+ elif [ -e "/usr/share/${SOFTWARE}/keys/${ADD}" ]
then
- gpg --homedir "${KEYS}" --import "/usr/share/compute-tools/keys/${ADD}"
- elif [ -e "/usr/share/compute-tools/keys/${ADD}.pub" ]
+ gpg --homedir "${KEYS}" --import "/usr/share/${SOFTWARE}/keys/${ADD}"
+ elif [ -e "/usr/share/${SOFTWARE}/keys/${ADD}.pub" ]
then
- gpg --homedir "${KEYS}" --import "/usr/share/compute-tools/keys/${ADD}.pub"
+ gpg --homedir "${KEYS}" --import "/usr/share/${SOFTWARE}/keys/${ADD}.pub"
else
gpg --homedir "${KEYS}" --recv "${ADD}"
fi