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