Merge pull request #34 from mendres82/main

Changed zypper update
This commit is contained in:
Chris Titus 2024-07-18 22:35:46 -05:00 committed by GitHub
commit 19e1b7445e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,8 +104,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
@ -133,8 +133,8 @@ updateSystem() {
sudo ${PACKAGER} -Syu --noconfirm
;;
zypper)
sudo ${PACKAGER} refresh
sudo ${PACKAGER} update -y
sudo ${PACKAGER} ref
sudo ${PACKAGER} --non-interactive dup
;;
*)
echo -e "${RED}Unsupported package manager: ${PACKAGER}${RC}"