fix: script update

Signed-off-by: Gordon <46924906+FGadvancer@users.noreply.github.com>
This commit is contained in:
Gordon 2023-08-17 17:36:48 +08:00
parent 05388598c1
commit a63fa37ad1
2 changed files with 3 additions and 1 deletions

View File

@ -85,7 +85,7 @@ echo -e ""
./$component_check
if [ $? -ne 0 ]; then
# 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
fi

View File

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