Skip to content

Commit

Permalink
Improved log message type coloring.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Sep 19, 2024
1 parent 8823563 commit 98cdbe8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions support/install.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
#!/bin/sh

if dpkg -l | grep -q "^ii\s*git"; then
echo "[+] Git is already installed."
echo "[\e[1;92m+\e[0m] Git is already installed."
else
echo "[-] Git is not installed."
echo "[*] Installing git..."
echo "[\e[1;91m-\e[0m] Git is not installed."
echo "[\e[1;94m~\e[0m] Installing git..."
apt install git -y
fi

git clone https://github.com/nthnn/zhivo.git --depth 1
echo "[*] Building Zhivo..."
echo "[\e[1;94m~\e[0m] Building Zhivo..."

cd zhivo && chmod +x ./build.sh && ./build.sh
echo "[+] Zhivo was successfully compiled!"
echo "[\e[1;92m+\e[0m] Zhivo was successfully compiled!"

cp dist/zhivo /bin/zhivo
echo "[+] Zhivo is now installed on your system!"
echo "[\e[1;92m+\e[0m] Zhivo is now installed on your system!"

cd .. && rm -rf zhivo
echo "[+] Build clean done"
echo "[\e[1;92m+\e[0m] Build clean done"

0 comments on commit 98cdbe8

Please sign in to comment.