diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-07-04 08:17:29 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-07-04 08:17:29 +0300 |
commit | cb37ba08b35f7236f3387d4a5c6463b24936bf24 (patch) | |
tree | 894a3bc93c2fd77b745eae3242d9780dec7f7540 /lib/_ak_zchain | |
parent | a40e07d1ef1d5b57973630715cecc489925b12c5 (diff) | |
download | arching-kaos-tools-cb37ba08b35f7236f3387d4a5c6463b24936bf24.tar.gz arching-kaos-tools-cb37ba08b35f7236f3387d4a5c6463b24936bf24.tar.bz2 arching-kaos-tools-cb37ba08b35f7236f3387d4a5c6463b24936bf24.zip |
Refactoring
Diffstat (limited to 'lib/_ak_zchain')
-rwxr-xr-x | lib/_ak_zchain | 5 |
1 files changed, 3 insertions, 2 deletions
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" |