From 785e63df8bf96a0c43c525a08d44e7b88354c459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20=C5=A0mejkal?= Date: Wed, 6 Apr 2022 19:05:21 +0200 Subject: [PATCH] included curl --- configure.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.sh b/configure.sh index 53a8c6d..5a3a65b 100644 --- a/configure.sh +++ b/configure.sh @@ -5,13 +5,13 @@ DISTRO=$(lsb_release -is) # Get COMMAND if [[ $DISTRO == "Arch" ]]; then - COMMAND="sudo pacman -S --needed json-c" + COMMAND="sudo pacman -S --needed json-c && sudo pacman -S --needed curl" elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then - COMMAND="sudo apt install libjson-c3" + COMMAND="sudo apt install libjson-c3 && sudo apt install curl" else # 'Unsupported' distro echo "It seems you are using unsupported distribution... Don't worry, just install https://github.com/json-c/json-c and you'll be fine." fi # Execute COMMAND -$COMMAND \ No newline at end of file +$COMMAND