diff --git a/distros.sh b/distros.sh index f7441c9..475e6e1 100755 --- a/distros.sh +++ b/distros.sh @@ -73,6 +73,10 @@ echo_error() { echo "${BOLD}${RED}${UNDERLINE}ERROR:${NC}${BRIGHT_RED} $1 ${NC}" >&2 } +# INFO: +# ↓ should get set in the install script itself +# ↓ +# echo with $PACKAGE and first argument, if 2 exist echo_pkg() { # if arg 2 does not exist, use normal echo if [[ -z $2 ]]; then @@ -83,6 +87,9 @@ echo_pkg() { clone) echo "${BOLD}${RED}${PACKAGE:-PKG}-clone:${NC}${YELLOW} Cloning $PACKAGE sources..${NC}" ;; + install) + echo "${BOLD}${RED}${PACKAGE:-PKG}-install:${NC}${YELLOW} Installing $PACKAGE now!${NC}" + ;; *) echo "${BOLD}${RED}${PACKAGE:-PKG}:${NC}${YELLOW} $1 ${NC}" ;; @@ -173,6 +180,8 @@ check_env() { if [ -e "$pikaCheckFile" ]; then PIKA_INIT=true + else + unset PIKA_INIT fi }