From 296074f6f5f45c8ab55b44309f9991dca8ef13da Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 12 Dec 2023 12:29:03 +0200 Subject: Renamed scripts for convenience --- bin/ak-akid-get-ipfs-hash | 5 +++++ bin/ak-akid-get-ipns-key | 5 +++++ bin/ak-get-akid | 5 ----- 3 files changed, 10 insertions(+), 5 deletions(-) create mode 100755 bin/ak-akid-get-ipfs-hash create mode 100755 bin/ak-akid-get-ipns-key delete mode 100755 bin/ak-get-akid diff --git a/bin/ak-akid-get-ipfs-hash b/bin/ak-akid-get-ipfs-hash new file mode 100755 index 0000000..996a34f --- /dev/null +++ b/bin/ak-akid-get-ipfs-hash @@ -0,0 +1,5 @@ +#!/bin/bash +# Resolves the IPNS key "ak-config" to its current IPFS value +# Return IPFS CIDv0 without /ipfs/ prefix +ak-ipfs-name-resolve /ipns/$(ak-akid-get-ipns-key) | sed -e 's/\/ipfs\///' + diff --git a/bin/ak-akid-get-ipns-key b/bin/ak-akid-get-ipns-key new file mode 100755 index 0000000..6db3705 --- /dev/null +++ b/bin/ak-akid-get-ipns-key @@ -0,0 +1,5 @@ +#!/bin/bash +# Resolves the IPNS key "ak-config" to its current IPFS value +# Return IPFS CIDv0 without /ipfs/ prefix +ak-ipfs-key-list-full | grep ak-config | awk '{print $1}' + diff --git a/bin/ak-get-akid b/bin/ak-get-akid deleted file mode 100755 index 61bc563..0000000 --- a/bin/ak-get-akid +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Resolves the IPNS key "ak-config" to its current IPFS value -# Return IPFS CIDv0 without /ipfs/ prefix -ak-ipfs-name-resolve /ipns/$(ak-ipfs-key-list-full | grep ak-config | awk '{print $1}') | sed -e 's/\/ipfs\///' - -- cgit v1.2.3