trying to fix ubuntu json-c problems
This commit is contained in:
parent
bf61b5bb27
commit
250c6aca30
@ -12,7 +12,7 @@ fi
|
|||||||
if [[ $DISTRO == "Arch" ]]; then
|
if [[ $DISTRO == "Arch" ]]; then
|
||||||
COMMAND="pacman -S --needed json-c curl"
|
COMMAND="pacman -S --needed json-c curl"
|
||||||
elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then
|
elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then
|
||||||
COMMAND="apt install libjson-c3 curl"
|
COMMAND="apt install libjson-c-dev curl"
|
||||||
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."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user