Move -y flag of dnf & yum to after install arg

This commit is contained in:
Price Hiller 2021-12-25 23:55:23 -06:00
parent 1ac01d2abd
commit 150ee116a4

View File

@ -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!"