From 568b2650cbe8ca6a6c6786a6ea03363fb56a2c57 Mon Sep 17 00:00:00 2001 From: jakepintu Date: Tue, 17 Sep 2019 12:45:00 +0530 Subject: [PATCH] Minor changes --- themes/palenight.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/themes/palenight.sh b/themes/palenight.sh index a39ed7c..4f3f43e 100644 --- a/themes/palenight.sh +++ b/themes/palenight.sh @@ -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