diff --git a/extra/depinstall b/extra/depinstall index 49dcc01..751fee4 100755 --- a/extra/depinstall +++ b/extra/depinstall @@ -15,7 +15,7 @@ fi checkinstalled() { if [ -d $INDEX_DIR/$1 ]; then - msg "Package ${color_green}$1${color_reset} already installed" + msg "Package ${GREEN}$1${CRESET} already installed" else depinst $1 fi @@ -33,7 +33,7 @@ checkpkg() { fi done if [ ! "$PORT_EXIST" ]; then - msgerr "Port ${color_red}$arg${color_reset} not exist" + msgerr "Port ${RED}$arg${CRESET} not exist" exit 1 fi unset PORT_EXIST diff --git a/extra/deplist b/extra/deplist index 75abfc0..14666ce 100755 --- a/extra/deplist +++ b/extra/deplist @@ -51,7 +51,7 @@ calc_dep $1 for deps in ${DEP[@]}; do if [ -e $INDEX_DIR/$deps/.pkginfo ]; then - echo -e "$deps ${color_green}[installed]${color_reset}" + echo -e "$deps ${GREEN}[installed]${CRESET}" else echo $deps fi diff --git a/extra/listinstall b/extra/listinstall index f4d27f9..3e0a0ba 100755 --- a/extra/listinstall +++ b/extra/listinstall @@ -91,7 +91,7 @@ done #for i in $list; do #if [ -d $INDEX_DIR/$i ]; then - #msg "$i ${color_green}[installed]${color_reset}" + #msg "$i ${GREEN}[installed]${CRESET}" #else #echo #msg "installing $i..." diff --git a/extra/revdep b/extra/revdep index abd03d0..1d8e859 100755 --- a/extra/revdep +++ b/extra/revdep @@ -58,7 +58,7 @@ allpkg() { MISSING_LIB="" for i in $LIB_NAME; do if echo $REQ_LIB | grep -q $i; then - [ "$VERBOSE" ] && echo -e "(${color_green}$PKG_NAME${color_reset}) $line ${color_green}>>>${color_reset} $i" + [ "$VERBOSE" ] && echo -e "(${GREEN}$PKG_NAME${CRESET}) $line ${GREEN}>>>${CRESET} $i" if [[ "$(echo ${ALLPKG[@]} | tr ' ' '\n' | grep -w "$PKG_NAME")" ]]; then continue else @@ -81,7 +81,7 @@ allpkg() { [ -z "$VERBOSE" ] || echo echo "This package(s) need rebuild:" for rebuild in ${ALLPKG[@]}; do - echo -e "${color_green}>>>${color_reset} $rebuild" + echo -e "${GREEN}>>>${CRESET} $rebuild" done else msg "All packages is doing fine." diff --git a/extra/sysupdate b/extra/sysupdate index ee593f7..3a05a6b 100755 --- a/extra/sysupdate +++ b/extra/sysupdate @@ -49,7 +49,7 @@ fi if [ "${#successuppkg[@]}" -gt 0 ]; then echo "Successfully update this package(s):" for ok in ${successuppkg[@]}; do - echo -e "${color_green}>>>${color_reset} $ok" + echo -e "${GREEN}>>>${CRESET} $ok" done fi @@ -57,7 +57,7 @@ if [ "${#faileduppkg[@]}" -gt 0 ]; then [ "${#successuppkg[@]}" -gt 0 ] && echo # make space between success and failed echo "Failed update this package(s):" for ko in ${faileduppkg[@]}; do - echo -e "${color_red}>>>${color_reset} $ko" + echo -e "${RED}>>>${CRESET} $ko" done fi