setup.sh can now be more picky about the kind of config it creates

This commit is contained in:
Michael Vines
2018-07-02 08:08:14 -07:00
committed by Grimes
parent c0f9e452f2
commit 5716898216
4 changed files with 65 additions and 19 deletions

View File

@@ -11,7 +11,9 @@ if [[ -d "$SNAP" ]]; then
fi
[[ -f "$SOLANA_CONFIG_DIR"/leader.json ]] || {
echo "$SOLANA_CONFIG_DIR/leader.json not found, run ${here}/setup.sh first"
echo "$SOLANA_CONFIG_DIR/leader.json not found, create it by running:"
echo
echo " ${here}/setup.sh -t leader"
exit 1
}