mirror of
https://github.com/logos-storage/get.codex.storage.git
synced 2026-01-03 05:33:10 +00:00
feat: add debug option to show main variables
This commit is contained in:
parent
d96fec2ef0
commit
6578a474de
12
install.sh
12
install.sh
@ -22,6 +22,18 @@ PASS_MARK="\033[0;32m\u2714\033[0m"
|
||||
FAIL_MARK="\033[0;31m\u2718\033[0m"
|
||||
SCRIPT_URL="${SCRIPT_URL:-https://get.codex.storage/install.sh}"
|
||||
|
||||
# Debug
|
||||
if [[ "${DEBUG:-false}" == "true" ]]; then
|
||||
echo -e "\n \e[33mVariables:\e[0m"
|
||||
echo " VERSION: ${VERSION}"
|
||||
echo " CIRDL: ${CIRDL}"
|
||||
echo " INSTALL_DIR: ${INSTALL_DIR}"
|
||||
echo " BRANCH: ${BRANCH}"
|
||||
echo " TEMP_DIR: ${TEMP_DIR}"
|
||||
echo " BASE_URL: ${BASE_URL}"
|
||||
echo " SCRIPT_URL: ${SCRIPT_URL}"
|
||||
fi
|
||||
|
||||
# Help
|
||||
if [[ $1 == *"help"* ]] ; then
|
||||
COMMAND="curl -s ${SCRIPT_URL}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user