added git to required dependencies

This commit is contained in:
Václav Šmejkal 2022-06-10 18:21:03 +02:00
parent 8cddd8ee30
commit fafb8e8870
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19

View File

@ -10,9 +10,9 @@ fi
# Get COMMAND # Get COMMAND
if [[ $DISTRO == "Arch" ]]; then if [[ $DISTRO == "Arch" ]]; then
COMMAND="pacman -S --needed gcc json-c curl make" COMMAND="pacman -S --needed gcc json-c curl make git"
elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then
COMMAND="apt install gcc libjson-c-dev libcurl4-nss-dev make" COMMAND="apt install gcc libjson-c-dev libcurl4-nss-dev make git"
else else
# 'Unsupported' distro # 'Unsupported' distro
echo "It seems you are using unsupported distribution... Don't worry, just install 'gcc', 'json-c', 'curl' and 'make' and you'll be fine." echo "It seems you are using unsupported distribution... Don't worry, just install 'gcc', 'json-c', 'curl' and 'make' and you'll be fine."