#!/bin/bash # Noovi Install - Bootstrap Redirect # Usage: curl -fsSL https://install.nooviai.com.br | bash # This script downloads and executes the main Setup script set -e # Colors GREEN='\033[0;32m' YELLOW='\033[1;33m' BLUE='\033[0;34m' NC='\033[0m' echo -e "${BLUE}╔═══════════════════════════════════════════════════════════╗${NC}" echo -e "${BLUE}║ Noovi Install v3.0 ║${NC}" echo -e "${BLUE}╚═══════════════════════════════════════════════════════════╝${NC}" echo "" # Download and execute Setup script SETUP_URL="https://install.nooviai.com.br/Setup" echo -e "${YELLOW}[INFO]${NC} Baixando script de instalação..." if command -v curl &> /dev/null; then curl -fsSL "$SETUP_URL" | bash elif command -v wget &> /dev/null; then wget -qO- "$SETUP_URL" | bash else echo -e "${RED}[ERRO]${NC} curl ou wget não encontrado." echo "Instale um deles e tente novamente:" echo " apt-get install curl" exit 1 fi