From 8e5eff52e4560aaa00ad67afd900aba8e71c46c7 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 27 Aug 2023 12:26:50 +0200 Subject: [PATCH] added libyaml into dependencies --- configure.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.sh b/configure.sh index 4203841..da6c144 100644 --- a/configure.sh +++ b/configure.sh @@ -24,14 +24,16 @@ if [[ $(id -u) != "0" ]] && [[ $1 != "force" ]]; then exit 1 fi +COMMON="gcc make tmux libyaml" + # Get COMMAND if [[ $DISTRO == "Arch" ]]; then - COMMAND="pacman -S --needed --noconfirm gcc json-c curl make libgit2 tmux" + COMMAND="pacman -S --needed --noconfirm $COMMON json-c curl libgit2" elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then - COMMAND="apt install -y gcc libjson-c-dev libcurl4-nss-dev make libgit2-dev tmux" + COMMAND="apt install -y $COMMON libjson-c-dev libcurl4-nss-dev libgit2-dev" else # 'Unsupported' distro - echo "It seems you are using unsupported distribution... Don't worry, just install 'gcc', 'json-c', 'curl', 'libgit2', 'tmux' and 'make' and you'll be fine." + echo "It seems you are using unsupported distribution... Don't worry, just install 'gcc', 'json-c', 'curl', 'libgit2', 'tmux', 'libyaml' and 'make' and you'll be fine." exit fi