install.sh: hardcode header to blue
Will prevent red/green generated colors.
This commit is contained in:
parent
94ed6ee41f
commit
cc6590fa4f
2 changed files with 12 additions and 12 deletions
|
|
@ -292,7 +292,7 @@ EOF
|
|||
|
||||
install_d2_standalone() {
|
||||
VERSION=${VERSION:-latest}
|
||||
header "installing d2-$VERSION"
|
||||
FGCOLOR=4 header "installing d2-$VERSION"
|
||||
|
||||
if [ "$VERSION" = latest ]; then
|
||||
fetch_release_info
|
||||
|
|
@ -329,7 +329,7 @@ install_d2_standalone() {
|
|||
}
|
||||
|
||||
install_d2_brew() {
|
||||
header "installing d2 with homebrew"
|
||||
FGCOLOR=4 header "installing d2 with homebrew"
|
||||
sh_c brew tap terrastruct/d2
|
||||
sh_c brew install d2
|
||||
}
|
||||
|
|
@ -338,7 +338,7 @@ install_tala_standalone() {
|
|||
REPO="${REPO_TALA:-terrastruct/tala}"
|
||||
VERSION=$TALA
|
||||
|
||||
header "installing tala-$VERSION"
|
||||
FGCOLOR=4 header "installing tala-$VERSION"
|
||||
|
||||
if [ "$VERSION" = latest ]; then
|
||||
fetch_release_info
|
||||
|
|
@ -376,7 +376,7 @@ install_tala_standalone() {
|
|||
}
|
||||
|
||||
install_tala_brew() {
|
||||
header "installing tala with homebrew"
|
||||
FGCOLOR=4 header "installing tala with homebrew"
|
||||
sh_c brew tap terrastruct/d2
|
||||
sh_c brew install tala
|
||||
}
|
||||
|
|
@ -386,7 +386,7 @@ uninstall() {
|
|||
# uninstalling d2 as TALA depends on d2.
|
||||
if command -v d2plugin-tala >/dev/null; then
|
||||
INSTALLED_VERSION="$(d2plugin-tala --version)"
|
||||
header "uninstalling tala-$INSTALLED_VERSION"
|
||||
FGCOLOR=4 header "uninstalling tala-$INSTALLED_VERSION"
|
||||
case $METHOD in
|
||||
standalone) uninstall_tala_standalone ;;
|
||||
homebrew) uninstall_tala_brew ;;
|
||||
|
|
@ -401,7 +401,7 @@ uninstall() {
|
|||
fi
|
||||
|
||||
INSTALLED_VERSION="$(d2 --version)"
|
||||
header "uninstalling d2-$INSTALLED_VERSION"
|
||||
FGCOLOR=4 header "uninstalling d2-$INSTALLED_VERSION"
|
||||
case $METHOD in
|
||||
standalone) uninstall_d2_standalone ;;
|
||||
homebrew) uninstall_d2_brew ;;
|
||||
|
|
|
|||
12
install.sh
12
install.sh
|
|
@ -777,7 +777,7 @@ EOF
|
|||
|
||||
install_d2_standalone() {
|
||||
VERSION=${VERSION:-latest}
|
||||
header "installing d2-$VERSION"
|
||||
FGCOLOR=4 header "installing d2-$VERSION"
|
||||
|
||||
if [ "$VERSION" = latest ]; then
|
||||
fetch_release_info
|
||||
|
|
@ -814,7 +814,7 @@ install_d2_standalone() {
|
|||
}
|
||||
|
||||
install_d2_brew() {
|
||||
header "installing d2 with homebrew"
|
||||
FGCOLOR=4 header "installing d2 with homebrew"
|
||||
sh_c brew tap terrastruct/d2
|
||||
sh_c brew install d2
|
||||
}
|
||||
|
|
@ -823,7 +823,7 @@ install_tala_standalone() {
|
|||
REPO="${REPO_TALA:-terrastruct/tala}"
|
||||
VERSION=$TALA
|
||||
|
||||
header "installing tala-$VERSION"
|
||||
FGCOLOR=4 header "installing tala-$VERSION"
|
||||
|
||||
if [ "$VERSION" = latest ]; then
|
||||
fetch_release_info
|
||||
|
|
@ -861,7 +861,7 @@ install_tala_standalone() {
|
|||
}
|
||||
|
||||
install_tala_brew() {
|
||||
header "installing tala with homebrew"
|
||||
FGCOLOR=4 header "installing tala with homebrew"
|
||||
sh_c brew tap terrastruct/d2
|
||||
sh_c brew install tala
|
||||
}
|
||||
|
|
@ -871,7 +871,7 @@ uninstall() {
|
|||
# uninstalling d2 as TALA depends on d2.
|
||||
if command -v d2plugin-tala >/dev/null; then
|
||||
INSTALLED_VERSION="$(d2plugin-tala --version)"
|
||||
header "uninstalling tala-$INSTALLED_VERSION"
|
||||
FGCOLOR=4 header "uninstalling tala-$INSTALLED_VERSION"
|
||||
case $METHOD in
|
||||
standalone) uninstall_tala_standalone ;;
|
||||
homebrew) uninstall_tala_brew ;;
|
||||
|
|
@ -886,7 +886,7 @@ uninstall() {
|
|||
fi
|
||||
|
||||
INSTALLED_VERSION="$(d2 --version)"
|
||||
header "uninstalling d2-$INSTALLED_VERSION"
|
||||
FGCOLOR=4 header "uninstalling d2-$INSTALLED_VERSION"
|
||||
case $METHOD in
|
||||
standalone) uninstall_d2_standalone ;;
|
||||
homebrew) uninstall_d2_brew ;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue