simplified install cmd
This commit is contained in:
parent
09ad19068d
commit
4772e7ae6f
@ -5,9 +5,9 @@ DISTRO=$(lsb_release -is)
|
|||||||
|
|
||||||
# Get COMMAND
|
# Get COMMAND
|
||||||
if [[ $DISTRO == "Arch" ]]; then
|
if [[ $DISTRO == "Arch" ]]; then
|
||||||
COMMAND="sudo pacman -S --needed json-c && sudo pacman -S --needed curl"
|
COMMAND="sudo pacman -S --needed json-c curl"
|
||||||
elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then
|
elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then
|
||||||
COMMAND="sudo apt install libjson-c3 && sudo apt install curl"
|
COMMAND="sudo apt install libjson-c3 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