added make package to configure script

This commit is contained in:
Václav Šmejkal 2022-05-26 18:55:56 +02:00
parent c7dd464afe
commit d352359ae2

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" COMMAND="pacman -S --needed gcc json-c curl make"
elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then
COMMAND="apt install gcc libjson-c-dev libcurl4-nss-dev" COMMAND="apt install gcc libjson-c-dev libcurl4-nss-dev make"
else else
# 'Unsupported' distro # 'Unsupported' distro
echo "It seems you are using unsupported distribution... Don't worry, just install https://github.com/json-c/json-c (+ CURL if you haven't installed it already) and you'll be fine." echo "It seems you are using unsupported distribution... Don't worry, just install https://github.com/json-c/json-c (+ CURL if you haven't installed it already) and you'll be fine."