#!/bin/bash

set -e

echo -e "
                                               ____              ___   __ 
                                              / __ \__  ______  /   | / /_
                                             / /_/ / / / / __ \/ /| |/ __/
                                            / _, _/ /_/ / / / / ___ / /_  
                                           /_/ |_|\__,_/_/ /_/_/  |_\__/  
                                                                          
                                           "
echo "Holaaaaaa"
sleep 1
echo "This is my initial install script"

# Clone setup script repo
SCRIPT="https://github.com/RunAtTekky/initial-setup-script.git"
DIR="$(pwd)/initial-setup"

if [ -d "$DIR" ]; then
    echo "$DIR already exists"
else
    git clone "$SCRIPT" "$DIR"
fi

cd "$DIR" || exit
./install-all.sh
