This commit is contained in:
pika 2025-05-19 09:58:53 +02:00
parent 192865ffbe
commit d389b5eef1

View file

@ -76,7 +76,17 @@ echo_error() {
echo_pkg() { echo_pkg() {
# if arg 2 does not exist, use normal echo # if arg 2 does not exist, use normal echo
if [[ -z $2 ]]; then if [[ -z $2 ]]; then
echo "${BOLD}${RED}${PACKAGE:-PKG}:${NC}${YELLOW} $1 ${NC}" case "$1" in
build)
echo "${BOLD}${RED}${PACKAGE:-PKG}-build:${NC}${YELLOW} Building $PACKAGE ${NC}"
;;
clone)
echo "${BOLD}${RED}${PACKAGE:-PKG}-clone:${NC}${YELLOW} Cloning $PACKAGE sources..${NC}"
;;
*)
echo "${BOLD}${RED}${PACKAGE:-PKG}:${NC}${YELLOW} $1 ${NC}"
;;
esac
else else
case "$1" in case "$1" in
deps) deps)
@ -393,7 +403,7 @@ if check_root; then
get_packager get_packager
dist_setup dist_setup
if [[ -z $PIKA_INIT ]]; then if [[ -z "$PIKA_INIT" ]]; then
echo_info "First time being imported.." echo_info "First time being imported.."
export PIKA_INIT=true export PIKA_INIT=true