diff --git a/support/install.sh b/support/install.sh index c0c2a9f..cd533eb 100644 --- a/support/install.sh +++ b/support/install.sh @@ -3,11 +3,19 @@ if dpkg -l | grep -q "^ii\s*git"; then echo "[\e[1;92m+\e[0m] Git is already installed." else - echo "[\e[1;91m-\e[0m] Git is not installed." + echo "[\e[1;91m-\e[0m] Git is not yet installed." echo "[\e[1;94m~\e[0m] Installing git..." apt install git -y fi +if dpkg -l | grep -q "^ii\s*build-essential"; then + echo "[\e[1;92m+\e[0m] Essential build tools are already installed." +else + echo "[\e[1;91m-\e[0m] Essential build tools aren't installed yet." + echo "[\e[1;94m~\e[0m] Installing build essentials..." + apt install build-essential -y +fi + git clone https://github.com/nthnn/zhivo.git --depth 1 echo "[\e[1;94m~\e[0m] Building Zhivo..."