aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-20 17:22:41 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-20 17:22:41 +0300
commit6358b59dc6416da13c3cc9ae5e3a32ec41f6b87a (patch)
tree85e67082a2ad80ac3d92bb7360984273f1060f57 /bin
parent8667152bc05967c2a9b19a80d809c81caec0a4df (diff)
downloadarching-kaos-tools-6358b59dc6416da13c3cc9ae5e3a32ec41f6b87a.tar.gz
arching-kaos-tools-6358b59dc6416da13c3cc9ae5e3a32ec41f6b87a.tar.bz2
arching-kaos-tools-6358b59dc6416da13c3cc9ae5e3a32ec41f6b87a.zip
Minimized 'ak' usage in the scripts in favor of functions
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ak-gpg2
-rwxr-xr-xbin/ak-mine2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-gpg b/bin/ak-gpg
index 1e91a80..b33a952 100755
--- a/bin/ak-gpg
+++ b/bin/ak-gpg
@@ -61,7 +61,7 @@ if [ ! -z $1 ]; then
--list-secret-keys-plain | -lsp) _ak_gpg_list_secret_keys_plain; exit;;
--create-key | -c) _ak_gpg_create_key $2; exit;;
--select-key | -s) _ak_gpg_select_key; exit;;
- --delete-key | -d) _ak_gpg_delete_key; exit;;
+ --delete-key | -s) _ak_gpg_delete_key; exit;;
* ) _ak_usage;;
esac
else _ak_usage
diff --git a/bin/ak-mine b/bin/ak-mine
index bf0eef7..ee1628a 100755
--- a/bin/ak-mine
+++ b/bin/ak-mine
@@ -20,7 +20,7 @@ gather_zblocks(){
proofofwork(){
TEST="$(gather_zblocks)"
MINER="$(ak-gpg --get-key-self-as-ipfs)"
- PRE="$(ak schain --get-latest | jq -r '.latest_block' | tr -d $'\n')"
+ PRE="$(ak-schain --get-latest | jq -r '.latest_block' | tr -d $'\n')"
i=1
l=1; while [ $l = 1 ]
do