diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-12-28 15:59:04 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-12-28 15:59:04 +0200 |
commit | 89d00fcbc75e128cba516009db100daec4b794a9 (patch) | |
tree | 9e98d87d9fef51a06d830ef2dd659cdc6fed2fb4 /lib/_ak_node | |
parent | 756db3cbdb91d2cb4773dd16aec3b54d1a52c462 (diff) | |
download | arching-kaos-tools-89d00fcbc75e128cba516009db100daec4b794a9.tar.gz arching-kaos-tools-89d00fcbc75e128cba516009db100daec4b794a9.tar.bz2 arching-kaos-tools-89d00fcbc75e128cba516009db100daec4b794a9.zip |
refactoringHEADorigin/masterorigin/HEADmaster
Diffstat (limited to 'lib/_ak_node')
-rwxr-xr-x | lib/_ak_node | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/_ak_node b/lib/_ak_node index 1cc009a..04aa07b 100755 --- a/lib/_ak_node +++ b/lib/_ak_node @@ -21,12 +21,12 @@ source $AK_LIBDIR/_ak_ipfs # Resolves the IPNS key "ak-config" to its current IPFS value # Return IPFS CIDv0 without /ipfs/ prefix -_ak_node_info_ipfs_hash(){ +function _ak_node_info_ipfs_hash(){ _ak_ipfs_name_resolve /ipns/$(_ak_node_info_ipns_key) | sed -e 's/\/ipfs\///' } # Finds ak-config ipns key # Returns IPNS key -_ak_node_info_ipns_key(){ +function _ak_node_info_ipns_key(){ _ak_ipfs_key_list_full | grep ak-config | awk '{print $1}' } |