Skip to content

Commit

Permalink
Build essential checking on installation support script.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Sep 20, 2024
1 parent 096c080 commit 557a451
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion support/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."

Expand Down

0 comments on commit 557a451

Please sign in to comment.