fix: script update

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
pull/887/head
Gordon 2 years ago
parent 05388598c1
commit a63fa37ad1

@ -85,7 +85,7 @@ echo -e ""
./$component_check ./$component_check
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
# Print error message and exit # Print error message and exit
echo -e "${BOLD_PREFIX}${RED_PREFIX}Error executing ${component_check}. Exiting...${COLOR_SUFFIX}" echo -e "${RED_BOLD}Error executing ${component_check}. Exiting...${COLOR_SUFFIX}"
exit -1 exit -1
fi fi

@ -61,6 +61,8 @@ function style-info() {
BACKGROUND_LIGHT_PURPLE="\033[105m" # Light purple background BACKGROUND_LIGHT_PURPLE="\033[105m" # Light purple background
BACKGROUND_LIGHT_SKY_BLUE="\033[106m" # Light sky blue background BACKGROUND_LIGHT_SKY_BLUE="\033[106m" # Light sky blue background
BACKGROUND_LIGHT_WHITE="\033[107m" # Light white background BACKGROUND_LIGHT_WHITE="\033[107m" # Light white background
RED_BOLD = "\033[1;31m"
} }
style-info style-info
Loading…
Cancel
Save