From 150ee116a4ef22549b50a99727a8769476a6aa06 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 25 Dec 2021 23:55:23 -0600 Subject: [PATCH] Move -y flag of dnf & yum to after install arg --- Scripts/install-requirements.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/install-requirements.bash b/Scripts/install-requirements.bash index ea25e3e..ab314a3 100644 --- a/Scripts/install-requirements.bash +++ b/Scripts/install-requirements.bash @@ -13,10 +13,10 @@ install_method_centos() { INSTALL_PACKAGES+=(glibc.i686 libstdc++.i686) if which dnf >/dev/null 2>&1; then - INSTALLER="dnf -y install" + INSTALLER="dnf install -y" echo_install_method "dnf" elif which yum >/dev/null 2>&1; then - INSTALLER="yum -y install" + INSTALLER="yum install -y" echo_install_method "yum" else echo "Unable to determine installer!"