--- trunk/mage/usr/lib/mage/mage4.functions.sh 2011/12/28 12:23:50 1584 +++ trunk/mage/usr/lib/mage/mage4.functions.sh 2011/12/29 15:12:05 1590 @@ -3305,13 +3305,13 @@ load_mage_features() { - echo "loading mage-features... " + echo -en "${COLBLUE}---${COLGREEN} Loading mage-features... ${COLDEFAULT}" for i in ${MAGE_FEATURES_GLOBAL[*]} ${MAGE_FEATURES[*]} do FVERBOSE=off msetfeature ${i} done - echo "done" + echo -e "${COLGREEN}done${COLDEFAULT}" } msetfeature() @@ -3336,17 +3336,17 @@ do if [[ ${MAGE_FEATURES_CURRENT[${i}]} = ${feature} ]] then - [[ ${FVERBOSE} = off ]] || echo "feature '${feature}' already enabled" + [[ ${FVERBOSE} = off ]] || echo -e "${COLBLUE}---${COLGREEN} Feature '${feature}' already enabled" MAGE_FEATURES_CURRENT[${i}]="${feature}" found=1 elif [[ ${MAGE_FEATURES_CURRENT[${i}]} = !${feature} ]] then - [[ ${FVERBOSE} = off ]] || echo "feature '${feature}' currently disabled, enabling it!" + [[ ${FVERBOSE} = off ]] || echo -e "${COLBLUE}---${COLGREEN} Feature '${feature}' currently disabled, enabling it!" MAGE_FEATURES_CURRENT[${i}]="${feature}" found=1 elif [[ ${MAGE_FEATURES_CURRENT[${i}]} = ${feature//!} ]] then - [[ ${FVERBOSE} = off ]] || echo "feature '${feature//!}' currently enabled, disabling it!" + [[ ${FVERBOSE} = off ]] || echo -e "${COLBLUE}---${COLGREEN} Feature '${feature//!}' currently enabled, disabling it!" MAGE_FEATURES_CURRENT[${i}]="${feature}" found=1 fi @@ -3356,7 +3356,7 @@ # it was not declared. in this case enable it if [[ ${found} = 0 ]] then - [[ ${FVERBOSE} = off ]] || echo "feature '${feature}' was not declared, enabling it!" + [[ ${FVERBOSE} = off ]] || echo -e "${COLBLUE}---${COLGREEN} Feature '${feature}' was not declared, enabling it!" MAGE_FEATURES_CURRENT=( ${MAGE_FEATURES_CURRENT[*]} "${feature}" ) fi