replaced curl for libcurl4-nss-dev (on Debian-based distros)

This commit is contained in:
Václav Šmejkal 2022-04-27 19:40:50 +02:00
parent 250c6aca30
commit 505b0a30b5

View File

@ -12,7 +12,7 @@ fi
if [[ $DISTRO == "Arch" ]]; then
COMMAND="pacman -S --needed json-c curl"
elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then
COMMAND="apt install libjson-c-dev curl"
COMMAND="apt install libjson-c-dev libcurl4-nss-dev"
else
# '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."