Pass -y to zypper

This commit is contained in:
Alex Malinovich 2018-04-19 22:24:30 -07:00
parent c2799829a0
commit 80d71f57af

View file

@ -183,8 +183,8 @@ check_distro() {
DISTRO_REINSTALL="yum -y reinstall"
elif hash zypper 2>/dev/null; then
DISTRO=redhat
DISTRO_INSTALL="zypper install"
DISTRO_REINSTALL="zypper install --force"
DISTRO_INSTALL="zypper install -y"
DISTRO_REINSTALL="zypper install -y --force"
elif hash apt 2>/dev/null; then
DISTRO=ubuntu
DISTRO_INSTALL="apt install"