aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-enter
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-08-18 22:30:19 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-08-18 22:30:19 +0300
commitda5c4e118f6d5b04ee31ca2374a1bd8aa8c00e37 (patch)
treec9f425479a45e5f91f29d23b7207e2b662b4cd2f /bin/ak-enter
parent39ed9fd836004d44bc31ecb4a63376a3c2087da6 (diff)
downloadarching-kaos-tools-da5c4e118f6d5b04ee31ca2374a1bd8aa8c00e37.tar.gz
arching-kaos-tools-da5c4e118f6d5b04ee31ca2374a1bd8aa8c00e37.tar.bz2
arching-kaos-tools-da5c4e118f6d5b04ee31ca2374a1bd8aa8c00e37.zip
Moved GPG keyring to dedicated folder under .arching-kaos/
Diffstat (limited to 'bin/ak-enter')
-rwxr-xr-xbin/ak-enter4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-enter b/bin/ak-enter
index 7d04693..64ef5a0 100755
--- a/bin/ak-enter
+++ b/bin/ak-enter
@@ -232,7 +232,7 @@ do
logit "[ERROR]" "Could not get GPG key: $gpg ."
exit 1
fi
- gpg2 --import $gpg > /dev/null 2>&1
+ gpg2 --homedir $AK_GPGHOME --import $gpg > /dev/null 2>&1
if [ "$?" -ne 0 ]
then
logit "[ERROR]" "Could not import GPG key: $gpg ."
@@ -255,7 +255,7 @@ do
fi
logit "[INFO]" "Downloaded block $block."
- gpg2 --verify $block.asc > /dev/null 2>&1
+ gpg2 --homedir $AK_GPGHOME --verify $block.asc > /dev/null 2>&1
if [ "$?" -ne 0 ]
then
logit "[ERROR]" "Could not verify $block with GPG key $gpg."