diff --git a/bak-old.sh b/bak-old.sh index 525720f..3721a0e 100755 --- a/bak-old.sh +++ b/bak-old.sh @@ -18,6 +18,13 @@ debug(){ ### function to call when $DEBUG is set set -xv } +# text formatting escape sequences +txt_bold='\e[1m' +txt_red='\e[31m' +txt_green='\e[32m' +txt_yellow='\e[33m' +txt_0='\e[0m' + ############################################################################### # f() FOR PRINTING PROMPTS ############################# diff --git a/install.sh b/install.sh index 8804c40..9bbf648 100755 --- a/install.sh +++ b/install.sh @@ -36,6 +36,13 @@ is_command(){ ### function to check if a command exists { command -v $1;} >/dev/null && return 0 || return 1 } +# text formatting escape sequences +txt_bold='\e[1m' +txt_red='\e[31m' +txt_green='\e[32m' +txt_yellow='\e[33m' +txt_0='\e[0m' + err_no_downloader(){ cat <<- EOM $(tput setaf 1; tput bold)ERR: missing dependencies$(tput sgr0)