From c26f8d5d625ad94bbc1f3aaeb5cfe10cf282cd74 Mon Sep 17 00:00:00 2001 From: Joe Sirianni Date: Fri, 11 Oct 2024 10:11:09 -0400 Subject: [PATCH 1/2] chore(scripts): Replace observIQ banner with BindPlane banner --- scripts/install/install_macos.sh | 22 +++++++++------------- scripts/install/install_unix.sh | 24 ++++++++++-------------- 2 files changed, 19 insertions(+), 27 deletions(-) diff --git a/scripts/install/install_macos.sh b/scripts/install/install_macos.sh index de185ae21..913752be5 100755 --- a/scripts/install/install_macos.sh +++ b/scripts/install/install_macos.sh @@ -129,19 +129,15 @@ prompt() { fi } -observiq_banner() +bindplane_banner() { - fg_cyan " 888 8888888 .d88888b.\\n" - fg_cyan " 888 888 d88P\" \"Y88b\\n" - fg_cyan " 888 888 888 888\\n" - fg_cyan " .d88b. 88888b. .d8888b .d88b. 888d888 888 888 888 888 888\\n" - fg_cyan " d88\"\"88b 888 \"88b 88K d8P Y8b 888P\" 888 888 888 888 888\\n" - fg_cyan " 888 888 888 888 \"Y8888b. 88888888 888 Y88 88P 888 888 Y8b 888\\n" - fg_cyan " Y88..88P 888 d88P X88 Y8b. 888 Y8bd8P 888 Y88b.Y8b88P\\n" - fg_cyan " \"Y88P\" 88888P\" 88888P' \"Y8888 888 Y88P 8888888 \"Y888888\"\\n" - fg_cyan " Y8b \\n" - - reset + fg_cyan " oooooooooo. o8o .o8 ooooooooo. oooo\\n" + fg_cyan " '888' '88b '\"' \"888 '888 'Y88. '888\\n" + fg_cyan " 888 888 oooo ooo. .oo. .oooo888 888 .d88' 888 .oooo. ooo. .oo. .ooooo.\\n" + fg_cyan " 888oooo888' '888 '888P\"Y88b d88' '888 888ooo88P' 888 'P )88b '888P\"Y88b d88' '88b\\n" + fg_cyan " 888 '88b 888 888 888 888 888 888 888 .oP\"888 888 888 888ooo888\\n" + fg_cyan " 888 .88P 888 888 888 888 888 888 888 d8( 888 888 888 888 .o\\n" + fg_cyan " o888bood8P' o888o o888o o888o 'Y8bod88P\" o888o o888o 'Y888\"\"8o o888o o888o '88bod8P'\\n" } separator() { printf "===================================================\\n" ; } @@ -667,7 +663,7 @@ main() # some of these options bail early, and we'd like to be sure that those commands # (e.g. uninstall) can run - observiq_banner + bindplane_banner check_prereqs if [ $# -ge 1 ]; then diff --git a/scripts/install/install_unix.sh b/scripts/install/install_unix.sh index 00560319b..286e8885b 100755 --- a/scripts/install/install_unix.sh +++ b/scripts/install/install_unix.sh @@ -138,19 +138,15 @@ prompt() { fi } -observiq_banner() +bindplane_banner() { - fg_cyan " 888 8888888 .d88888b.\\n" - fg_cyan " 888 888 d88P\" \"Y88b\\n" - fg_cyan " 888 888 888 888\\n" - fg_cyan " .d88b. 88888b. .d8888b .d88b. 888d888 888 888 888 888 888\\n" - fg_cyan " d88\"\"88b 888 \"88b 88K d8P Y8b 888P\" 888 888 888 888 888\\n" - fg_cyan " 888 888 888 888 \"Y8888b. 88888888 888 Y88 88P 888 888 Y8b 888\\n" - fg_cyan " Y88..88P 888 d88P X88 Y8b. 888 Y8bd8P 888 Y88b.Y8b88P\\n" - fg_cyan " \"Y88P\" 88888P\" 88888P' \"Y8888 888 Y88P 8888888 \"Y888888\"\\n" - fg_cyan " Y8b \\n" - - reset + fg_cyan " oooooooooo. o8o .o8 ooooooooo. oooo\\n" + fg_cyan " '888' '88b '\"' \"888 '888 'Y88. '888\\n" + fg_cyan " 888 888 oooo ooo. .oo. .oooo888 888 .d88' 888 .oooo. ooo. .oo. .ooooo.\\n" + fg_cyan " 888oooo888' '888 '888P\"Y88b d88' '888 888ooo88P' 888 'P )88b '888P\"Y88b d88' '88b\\n" + fg_cyan " 888 '88b 888 888 888 888 888 888 888 .oP\"888 888 888 888ooo888\\n" + fg_cyan " 888 .88P 888 888 888 888 888 888 888 d8( 888 888 888 888 .o\\n" + fg_cyan " o888bood8P' o888o o888o o888o 'Y8bod88P\" o888o o888o 'Y888\"\"8o o888o o888o '88bod8P'\\n" } separator() { printf "===================================================\\n" ; } @@ -770,7 +766,7 @@ uninstall_package() uninstall() { - observiq_banner + bindplane_banner set_package_type banner "Uninstalling BindPlane Agent" @@ -817,7 +813,7 @@ main() # some of these options bail early, and we'd like to be sure that those commands # (e.g. uninstall) can run - observiq_banner + bindplane_banner check_prereqs if [ $# -ge 1 ]; then From e9c0d91638cf0bb10e3a9bfe7efadff1067349ec Mon Sep 17 00:00:00 2001 From: Joe Sirianni Date: Fri, 11 Oct 2024 12:14:58 -0400 Subject: [PATCH 2/2] fix typo --- scripts/install/install_macos.sh | 2 ++ scripts/install/install_unix.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/install/install_macos.sh b/scripts/install/install_macos.sh index 913752be5..ad4dabb69 100755 --- a/scripts/install/install_macos.sh +++ b/scripts/install/install_macos.sh @@ -138,6 +138,8 @@ bindplane_banner() fg_cyan " 888 '88b 888 888 888 888 888 888 888 .oP\"888 888 888 888ooo888\\n" fg_cyan " 888 .88P 888 888 888 888 888 888 888 d8( 888 888 888 888 .o\\n" fg_cyan " o888bood8P' o888o o888o o888o 'Y8bod88P\" o888o o888o 'Y888\"\"8o o888o o888o '88bod8P'\\n" + + reset } separator() { printf "===================================================\\n" ; } diff --git a/scripts/install/install_unix.sh b/scripts/install/install_unix.sh index 286e8885b..4244d48db 100755 --- a/scripts/install/install_unix.sh +++ b/scripts/install/install_unix.sh @@ -147,6 +147,8 @@ bindplane_banner() fg_cyan " 888 '88b 888 888 888 888 888 888 888 .oP\"888 888 888 888ooo888\\n" fg_cyan " 888 .88P 888 888 888 888 888 888 888 d8( 888 888 888 888 .o\\n" fg_cyan " o888bood8P' o888o o888o o888o 'Y8bod88P\" o888o o888o 'Y888\"\"8o o888o o888o '88bod8P'\\n" + + reset } separator() { printf "===================================================\\n" ; }