Trying to fix non-interactive mode

This commit is contained in:
VetheonGames 2024-01-08 18:06:16 -07:00
parent 4d87c7ff94
commit 124eed083a

View File

@ -47,7 +47,7 @@ if [[ "$go_version" != *"$required_version"* ]]; then
fi fi
if [[ $INSTALL_GO =~ ^[Yy]$ ]] || [[ -z $INSTALL_GO ]]; then if [[ $INSTALL_GO =~ ^[Yy]$ ]] || [[ -z $INSTALL_GO ]]; then
echo "Installing Go..." echo "Installing Go..."
sudo pacman -Syu go sudo pacman -Syu --noconfirm go
else else
echo "Go not installed. Exiting." echo "Go not installed. Exiting."
exit 1 exit 1
@ -64,7 +64,7 @@ if ! command -v wget &>/dev/null; then
echo echo
fi fi
if [[ $INSTALL_WGET =~ ^[Yy]$ ]] || [[ -z $INSTALL_WGET ]]; then if [[ $INSTALL_WGET =~ ^[Yy]$ ]] || [[ -z $INSTALL_WGET ]]; then
sudo pacman -Syu wget sudo pacman -Syu --noconfirm wget
else else
echo "wget not installed. Exiting." echo "wget not installed. Exiting."
exit 1 exit 1
@ -81,7 +81,7 @@ if ! command -v git &>/dev/null; then
echo echo
fi fi
if [[ $INSTALL_GIT =~ ^[Yy]$ ]] || [[ -z $INSTALL_GIT ]]; then if [[ $INSTALL_GIT =~ ^[Yy]$ ]] || [[ -z $INSTALL_GIT ]]; then
sudo pacman -Syu git sudo pacman -Syu --noconfirm git
else else
echo "Git not installed. Exiting." echo "Git not installed. Exiting."
exit 1 exit 1