mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-07-12 16:22:58 -07:00
Pass -y to zypper
This commit is contained in:
parent
c2799829a0
commit
80d71f57af
1 changed files with 2 additions and 2 deletions
|
@ -183,8 +183,8 @@ check_distro() {
|
||||||
DISTRO_REINSTALL="yum -y reinstall"
|
DISTRO_REINSTALL="yum -y reinstall"
|
||||||
elif hash zypper 2>/dev/null; then
|
elif hash zypper 2>/dev/null; then
|
||||||
DISTRO=redhat
|
DISTRO=redhat
|
||||||
DISTRO_INSTALL="zypper install"
|
DISTRO_INSTALL="zypper install -y"
|
||||||
DISTRO_REINSTALL="zypper install --force"
|
DISTRO_REINSTALL="zypper install -y --force"
|
||||||
elif hash apt 2>/dev/null; then
|
elif hash apt 2>/dev/null; then
|
||||||
DISTRO=ubuntu
|
DISTRO=ubuntu
|
||||||
DISTRO_INSTALL="apt install"
|
DISTRO_INSTALL="apt install"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue