Adding in a banner...because all the cool kids are doing it.

This commit is contained in:
Micheal Quinn 2019-08-23 11:05:57 -05:00
parent 7a6c4db5f9
commit 07a2abd808
No known key found for this signature in database
GPG Key ID: 0E7217F3C30BA059
1 changed files with 26 additions and 0 deletions

View File

@ -44,6 +44,31 @@ fi
# FUNCTIONS
#-------------------------------------------------------------------------------
#--- FUNCTION ----------------------------------------------------------------
# NAME: print_banner
# DESCRIPTION: Prints a banner
# PARAMETERS: none
# RETURNS: 0
#-------------------------------------------------------------------------------
print_banner() {
cat <<-'EOF'
=================================================
____
/ ___|_ __ ___ ___
| | | '__/ _ \ / __|
| |___| | | (_) | (__
\____|_| \___/ \___|
___ _ _ _
|_ _|_ __ ___| |_ __ _| | | ___ _ __
| || '_ \/ __| __/ _` | | |/ _ \ '__|
| || | | \__ \ || (_| | | | __/ |
|___|_| |_|___/\__\__,_|_|_|\___|_|
==================================================
EOF
}
#--- FUNCTION ----------------------------------------------------------------
# NAME: print_help
# DESCRIPTION: Prints out a help message
@ -462,6 +487,7 @@ main() {
croc_base_url="https://github.com/schollz/croc/releases/download"
prefix="${1}"
print_banner
print_message "== Install prefix set to ${prefix}" "info"
tmpdir="$(make_tempdir "${croc_bin_name}")"