forked from berhsi/rechnung
tput statt Color codes
This commit is contained in:
parent
710a452577
commit
16d27ace1b
10
rechnung.sh
10
rechnung.sh
|
@ -58,11 +58,11 @@ LFDNR=""
|
||||||
|
|
||||||
NUMBER_OF_COLORS=$($TPUT_BIN colors)
|
NUMBER_OF_COLORS=$($TPUT_BIN colors)
|
||||||
COLORED_OUTPUT=0
|
COLORED_OUTPUT=0
|
||||||
RED="\\033[1;31m"
|
RED="$(tput bold)$(tput setaf 1)"
|
||||||
GREEN="\\033[1;32m"
|
GREEN="$(tput bold)$(tput setaf 2)"
|
||||||
YELLOW="\\033[1;33m"
|
YELLOW="$(tput bold)$(tput setaf 3)"
|
||||||
BLUE="\\033[1;34m"
|
BLUE="$(tput bold)$(tput setaf 4)"
|
||||||
NORMAL="\\033[0;39m"
|
NORMAL="$(tput bold)$(tput sgr0)"
|
||||||
|
|
||||||
|
|
||||||
# Diverse Checks
|
# Diverse Checks
|
||||||
|
|
Loading…
Reference in a new issue