Trying to fix non-interactive mode
This commit is contained in:
parent
4d87c7ff94
commit
124eed083a
|
@ -47,7 +47,7 @@ if [[ "$go_version" != *"$required_version"* ]]; then
|
|||
fi
|
||||
if [[ $INSTALL_GO =~ ^[Yy]$ ]] || [[ -z $INSTALL_GO ]]; then
|
||||
echo "Installing Go..."
|
||||
sudo pacman -Syu go
|
||||
sudo pacman -Syu --noconfirm go
|
||||
else
|
||||
echo "Go not installed. Exiting."
|
||||
exit 1
|
||||
|
@ -64,7 +64,7 @@ if ! command -v wget &>/dev/null; then
|
|||
echo
|
||||
fi
|
||||
if [[ $INSTALL_WGET =~ ^[Yy]$ ]] || [[ -z $INSTALL_WGET ]]; then
|
||||
sudo pacman -Syu wget
|
||||
sudo pacman -Syu --noconfirm wget
|
||||
else
|
||||
echo "wget not installed. Exiting."
|
||||
exit 1
|
||||
|
@ -81,7 +81,7 @@ if ! command -v git &>/dev/null; then
|
|||
echo
|
||||
fi
|
||||
if [[ $INSTALL_GIT =~ ^[Yy]$ ]] || [[ -z $INSTALL_GIT ]]; then
|
||||
sudo pacman -Syu git
|
||||
sudo pacman -Syu --noconfirm git
|
||||
else
|
||||
echo "Git not installed. Exiting."
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user