aboutsummaryrefslogtreecommitdiff
path: root/config.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-23 14:15:47 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-23 14:15:47 +0300
commit7bd414dd1b0bee7bb6858717bbd9a4d837dcdbc0 (patch)
tree833294135d79758ac27dbf42c1919e9880d79294 /config.sh
parenta359611ed2bcc79bf440f05096cfbdc618869067 (diff)
downloadarching-kaos-tools-7bd414dd1b0bee7bb6858717bbd9a4d837dcdbc0.tar.gz
arching-kaos-tools-7bd414dd1b0bee7bb6858717bbd9a4d837dcdbc0.tar.bz2
arching-kaos-tools-7bd414dd1b0bee7bb6858717bbd9a4d837dcdbc0.zip
also recover selected key from settings
Diffstat (limited to 'config.sh')
-rwxr-xr-xconfig.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.sh b/config.sh
index a4a5aef..83ef05d 100755
--- a/config.sh
+++ b/config.sh
@@ -22,10 +22,11 @@ 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="$(cat $AK_WORKDIR/selected_key)"
export AK_MINEDBLOCKSDIR="$AK_WORKDIR/mined_blocks"
export AK_ZBLOCKSFILE="$AK_WORKDIR/zBlocksFile"
export AK_ZPAIRSFILE="$AK_WORKDIR/pairsFile"
export AK_ZPEERSFILE="$AK_WORKDIR/peersFile"
export AK_CACHEDIR="$AK_WORKDIR/cache"
+source $AK_LIBDIR/_ak_settings
+export AK_FINGERPRINT="$(_ak_settings_get gpg.fingerprint)"