missplaced non-interactive switch in zypper install

This commit is contained in:
Jonas Forsberg 2020-08-06 12:03:53 +02:00
parent ec208ba22a
commit 5411a34311
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

View File

@ -165,7 +165,7 @@ function check_prerequisites(){
read -r -n 1 -s answer; read -r -n 1 -s answer;
printf "\n" printf "\n"
if [[ $answer == [yY] ]];then if [[ $answer == [yY] ]];then
sudo zypper install --non-interactive git sudo zypper --non-interactive install git
fi fi
fi fi
@ -176,7 +176,7 @@ function check_prerequisites(){
read -r -n 1 -s answer; read -r -n 1 -s answer;
printf "\n" printf "\n"
if [[ $answer == [yY] ]];then if [[ $answer == [yY] ]];then
sudo zypper install --non-interactive salt-minion sudo zypper --non-interactive install salt-minion
fi fi
fi fi
set -e set -e