Move -y flag of dnf & yum to after install arg
This commit is contained in:
parent
1ac01d2abd
commit
150ee116a4
@ -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!"
|
||||
|
Loading…
Reference in New Issue
Block a user