From cb37ba08b35f7236f3387d4a5c6463b24936bf24 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Thu, 4 Jul 2024 08:17:29 +0300 Subject: Refactoring --- lib/_ak_zchain | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/_ak_zchain') diff --git a/lib/_ak_zchain b/lib/_ak_zchain index 147f8d5..462a509 100755 --- a/lib/_ak_zchain +++ b/lib/_ak_zchain @@ -1,6 +1,7 @@ #!/bin/bash source $AK_LIBDIR/_ak_ipfs source $AK_LIBDIR/_ak_log +source $AK_LIBDIR/_ak_config _ak_zchain_reset(){ echo "Reseting ZLATEST to ZGENESIS" @@ -28,7 +29,7 @@ _ak_zchain_reset(){ _ak_ipfs_name_publish --key=zchain /ipfs/$(cat $ZLATEST) if [ $? != 0 ]; then exit 1; fi - ak-config --publish + _ak_config_publish if [ $? -ne 0 ] then _ak_log_error "Could not publish new configuration" @@ -67,7 +68,7 @@ _ak_zchain_rebase(){ _ak_ipfs_name_publish --key=zchain /ipfs/$(cat $AK_ZLATEST) if [ $? != 0 ]; then exit 1; fi - ak-config --publish + _ak_config_publish if [ $? -ne 0 ] then _ak_log_error "Could not publish new configuration" -- cgit v1.2.3