From b499bba3821b4a69ee5d679d12ca70c6eb4143cd Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 11 Jun 2022 16:37:07 +0200 Subject: [PATCH] added automatical confirm (when installing) to configuration script it was annoying af --- configure.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.sh b/configure.sh index 5ea6d72..ac9a4ca 100644 --- a/configure.sh +++ b/configure.sh @@ -10,9 +10,9 @@ fi # Get COMMAND if [[ $DISTRO == "Arch" ]]; then - COMMAND="pacman -S --needed gcc json-c curl make libgit2" + COMMAND="pacman -S --needed --noconfirm gcc json-c curl make libgit2" elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then - COMMAND="apt install gcc libjson-c-dev libcurl4-nss-dev make libgit2-dev" + COMMAND="apt install -y gcc libjson-c-dev libcurl4-nss-dev make libgit2-dev" else # 'Unsupported' distro echo "It seems you are using unsupported distribution... Don't worry, just install 'gcc', 'json-c', 'curl' and 'make' and you'll be fine."