testing colors again
This commit is contained in:
parent
b121054a3b
commit
8c9480d788
1 changed files with 5 additions and 5 deletions
10
distros.sh
10
distros.sh
|
@ -107,15 +107,15 @@ echo_pkg() {
|
|||
}
|
||||
|
||||
echo_info() {
|
||||
echo "${BOLD}${BRIGHT_BLUE}INFO:${NC}${BLUE} $1 ${NC}"
|
||||
echo "${BOLD}${BLUE}INFO:${BRIGHT_BLUE} $1 ${NC}"
|
||||
}
|
||||
|
||||
echo_warning() {
|
||||
echo "${BOLD}${BRIGHT_YELLOW}WARNING:${NC}${YELLOW} $1 ${NC}"
|
||||
echo "${BOLD}${YELLOW}WARNING:${BRIGHT_YELLOW} $1 ${NC}"
|
||||
}
|
||||
|
||||
echo_note() {
|
||||
echo "${BOLD}${BRIGHT_GREEN}NOTE:${NC}${GREEN} $1 ${NC}"
|
||||
echo "${BOLD}${GREEN}NOTE:${BRIGHT_GREEN} $1 ${NC}"
|
||||
}
|
||||
|
||||
# ─< Check if the given command exists silently >─────────────────────────────────────────
|
||||
|
@ -147,7 +147,7 @@ checkAndInstall() {
|
|||
echo_pkg deps "$1 is already installed.."
|
||||
fi
|
||||
else
|
||||
echo_pkg deps "skipping $1 - as it's already installed.."
|
||||
echo_pkg deps "skipping $1 - as it's ${RED}already installed.."
|
||||
fi
|
||||
else
|
||||
# ─< else go though the list of items and do the same >───────────────────────────────────
|
||||
|
@ -161,7 +161,7 @@ checkAndInstall() {
|
|||
echo_pkg deps "$deps is already installed.."
|
||||
fi
|
||||
else
|
||||
echo_pkg deps "skipping $deps - as it's already installed.."
|
||||
echo_pkg deps "skipping $1 - as it's ${RED}already installed.."
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue