chore: clean up #2
4
setup.sh
4
setup.sh
@ -39,7 +39,7 @@ dbg $dbg_debug "identify root values"
|
||||
|
||||
set -e
|
||||
# check if we have existing setup
|
||||
if [ ! -f "$HOME/.config/cic/staff-client/key_fingerprint" ]; then
|
||||
if [ ! -e "$HOME/.config/cic/staff-client/.envinit" ]; then
|
||||
dbg $dbg_debug "load default environment"
|
||||
|
||||
config_directives=(CIC_REGISTRY_ADDRESS CIC_TRUST_ADDRESS META_URL TX_CACHE_URL CHAIN_SPEC)
|
||||
@ -83,6 +83,8 @@ if [ ! -f "$HOME/.config/cic/staff-client/key_fingerprint" ]; then
|
||||
export AUTH_KEY=`cat $HOME/.config/cic/staff-client/key_fingerprint`
|
||||
export AUTH_KEYRING_PATH=$HOME/.config/cic/staff-client/.gnupg
|
||||
export AUTH_DB_PATH=$HOME/.local/share/cic/clicada
|
||||
|
||||
touch "$HOME/.config/cic/staff-client/.envinit"
|
||||
fi
|
||||
set +e
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user