From d389b5eef124b1d0639fc7334a2d59eac1195d14 Mon Sep 17 00:00:00 2001 From: pika Date: Mon, 19 May 2025 09:58:53 +0200 Subject: [PATCH] testing --- distros.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/distros.sh b/distros.sh index 635380f..182493b 100755 --- a/distros.sh +++ b/distros.sh @@ -76,7 +76,17 @@ echo_error() { echo_pkg() { # if arg 2 does not exist, use normal echo 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 case "$1" in deps) @@ -393,7 +403,7 @@ if check_root; then get_packager dist_setup - if [[ -z $PIKA_INIT ]]; then + if [[ -z "$PIKA_INIT" ]]; then echo_info "First time being imported.." export PIKA_INIT=true