From 3980537e2a58a4ad3e6a533e6a221d77bb223eb1 Mon Sep 17 00:00:00 2001 From: mendres82 <152789928+mendres82@users.noreply.github.com> Date: Tue, 16 Jul 2024 00:24:02 +0200 Subject: [PATCH] Changed zypper update - Changed to use zypper dup, because that's the way to update openSUSE Tumbleweed and Slowroll installs --- src/commands/system-update.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/system-update.sh b/src/commands/system-update.sh index 36b7630d..a67585f5 100755 --- a/src/commands/system-update.sh +++ b/src/commands/system-update.sh @@ -102,8 +102,8 @@ fastUpdate() { sudo ${PACKAGER} update -y ;; zypper) - sudo ${PACKAGER} refresh - sudo ${PACKAGER} update -y + sudo ${PACKAGER} ref + sudo ${PACKAGER} --non-interactive dup ;; yum) sudo ${PACKAGER} update -y @@ -131,8 +131,8 @@ updateSystem() { sudo ${PACKAGER} -Syu --noconfirm ;; zypper) - sudo ${PACKAGER} refresh - sudo ${PACKAGER} update -y + sudo ${PACKAGER} ref + sudo ${PACKAGER} --non-interactive dup ;; *) printf "${RED}Unsupported package manager: ${PACKAGER}${RC}\n"