added automatical confirm (when installing) to configuration script
it was annoying af
This commit is contained in:
parent
5502ee67c8
commit
b499bba382
@ -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."
|
||||
|
Loading…
x
Reference in New Issue
Block a user