Slava bc679d6c3a
Adjust scripts help output (#26)
* Make all shell scripts executable

* Adjust scripts help output
2024-11-19 09:43:20 +02:00

18 lines
333 B
Bash
Executable File

# Codex Testnet - Install
# Variables
set -a
BASE_SCRIPT="https://get.codex.storage/install.sh"
SCRIPT_URL="https://get.codex.storage/testnet/install.sh"
INSTALL_DIR="${INSTALL_DIR:-.}"
set +a
# Help
if [[ $1 == *"help"* ]] ; then
curl -s "${BASE_SCRIPT}" | bash -s -- help
exit 0
fi
# Install
curl -s "${BASE_SCRIPT}" | bash