1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

Minor changes

This commit is contained in:
jakepintu 2019-09-17 12:45:00 +05:30
parent cbc65039dd
commit 568b2650cb

View File

@ -42,14 +42,14 @@ PARENT_PATH="$(dirname "${SCRIPT_PATH}")"
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
#if [[ -e "${PARENT_PATH}/apply-colors.sh" ]]; then
# bash "${PARENT_PATH}/apply-colors.sh"
#else
# if [[ "$(uname)" = "Darwin" ]]; then
if [[ -e "${PARENT_PATH}/apply-colors.sh" ]]; then
bash "${PARENT_PATH}/apply-colors.sh"
else
if [[ "$(uname)" = "Darwin" ]]; then
# OSX ships with curl and ancient bash
# bash -c "$(curl -so- "${BASE_URL}/apply-colors.sh")"
# else
bash -c "$(curl -so- "${BASE_URL}/apply-colors.sh")"
else
# Linux ships with wget
bash -c "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
# fi
#fi
fi
fi