From 80d71f57af98f507f70e443bfcd842903493054c Mon Sep 17 00:00:00 2001 From: Alex Malinovich Date: Thu, 19 Apr 2018 22:24:30 -0700 Subject: [PATCH] Pass -y to zypper --- plexupdate-core | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plexupdate-core b/plexupdate-core index 3d28900..3a41908 100755 --- a/plexupdate-core +++ b/plexupdate-core @@ -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"