aboutsummaryrefslogtreecommitdiff
path: root/config.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-19 17:54:46 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-19 17:54:46 +0300
commit8667152bc05967c2a9b19a80d809c81caec0a4df (patch)
treed94c019963b084a9c0d482859efe81828c8eb925 /config.sh
parent5b527aa3c5d9a425305fdef73bfb819a5c1ce81f (diff)
downloadarching-kaos-tools-8667152bc05967c2a9b19a80d809c81caec0a4df.tar.gz
arching-kaos-tools-8667152bc05967c2a9b19a80d809c81caec0a4df.tar.bz2
arching-kaos-tools-8667152bc05967c2a9b19a80d809c81caec0a4df.zip
Expanded ak-gpg handler
Diffstat (limited to 'config.sh')
-rwxr-xr-xconfig.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.sh b/config.sh
index 7a4ffc8..a4a5aef 100755
--- a/config.sh
+++ b/config.sh
@@ -22,7 +22,7 @@ export AK_ZLIST="$AK_WORKDIR/zlist"
export AK_ZLATEST="$AK_WORKDIR/zlatest"
export AK_LOGSFILE="$AK_WORKDIR/logs"
export AK_GPGHOME="$AK_WORKDIR/keyring"
-export AK_FINGERPRINT="$(gpg2 --homedir $AK_GPGHOME --list-keys | grep kaos@kaos.kaos -B 1 | head -n 1 | awk '{print $1}')"
+export AK_FINGERPRINT="$(cat $AK_WORKDIR/selected_key)"
export AK_MINEDBLOCKSDIR="$AK_WORKDIR/mined_blocks"
export AK_ZBLOCKSFILE="$AK_WORKDIR/zBlocksFile"
export AK_ZPAIRSFILE="$AK_WORKDIR/pairsFile"