testing
This commit is contained in:
parent
192865ffbe
commit
d389b5eef1
1 changed files with 12 additions and 2 deletions
14
distros.sh
14
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue