Changeset - 22c198a1b435
[Not reviewed]
default
0 1 0
Dennis Fink (metalgamer) - 5 years ago 2015-02-10 22:53:35
dennis.fink@c3l.lu
Don't use bold colors
1 file changed with 12 insertions and 13 deletions:
yaah
12
13
0 comments (0 inline, 0 general)
yaah
Show inline comments
...
 
@@ -53,22 +53,21 @@ readonly AURURL
 
## Set Colors (copied from makepkg)
 
if tput setaf 0 $>/dev/null; then
 
    ALL_OFF="$(tput sgr0)"
 
    BOLD="$(tput bold)"
 
    RED="${BOLD}$(tput setaf 1)"
 
    GREEN="${BOLD}$(tput setaf 2)"
 
    YELLOW="${BOLD}$(tput setaf 3)"
 
    BLUE="${BOLD}$(tput setaf 4)"
 
    PURPLE="${BOLD}$(tput setaf 5)"
 
    CYAN="${BOLD}$(tput setaf 6)"
 
    RED="$(tput setaf 1)"
 
    GREEN="$(tput setaf 2)"
 
    YELLOW="$(tput setaf 3)"
 
    BLUE="$(tput setaf 4)"
 
    PURPLE="$(tput setaf 5)"
 
    CYAN="$(tput setaf 6)"
 
else
 
    ALL_OFF="\e[1;0m"
 
    BOLD="\[1;1m"
 
    RED="${BOLD}\e[1;31m"
 
    GREEN="${BOLD}\e[1;32m"
 
    YELLOW="${BOLD}\e[1;33m"
 
    BLUE="${BOLD}\e[1;34m"
 
    PURPLE="${BOLD}\e[1:35m"
 
    CYAN="${BOLD}\e[1:36m"
 
    RED="\e[1;31m"
 
    GREEN="\e[1;32m"
 
    YELLOW="\e[1;33m"
 
    BLUE="\e[1;34m"
 
    PURPLE="\e[1:35m"
 
    CYAN="\e[1:36m"
 
fi
 
COLS="$(tput cols)"
 

	
0 comments (0 inline, 0 general)