Compare commits

...

2 Commits

Author SHA1 Message Date
lash
2063a52f04
Disambiguate env setup from key setup 2022-01-21 15:23:16 +00:00
lash
a5dc1c83b6
Correct check bloxberg test 2022-01-21 15:18:49 +00:00
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -7,7 +7,7 @@ function checkk {
fi
}
if [ "$INSTALL_EVM" == "bloxberg"] ; then
if [ "$INSTALL_EVM" == "bloxberg" ] ; then
exec=(systemctl git gcc pip python3 sqlite3 clang rustup cmake)
else
exec=(systemctl git gcc pip python3 sqlite3)