aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-data-expand
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-data-expand
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-data-expand')
-rwxr-xr-xbin/ak-data-expand4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-data-expand b/bin/ak-data-expand
index fc089c3..862fa75 100755
--- a/bin/ak-data-expand
+++ b/bin/ak-data-expand
@@ -64,7 +64,7 @@ then
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"
@@ -85,7 +85,7 @@ then
exit 1
fi
logit "[INFO]" "Data downloaded: $DATA"
- gpg2 --verify $DATA.asc $DATA > /dev/null 2>&1
+ gpg2 --homedir $AK_GPGHOME --verify $DATA.asc $DATA > /dev/null 2>&1
if [ "$?" -ne 0 ]
then
logit "[ERROR]" "Error while verifying signature for $DATA"