mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-24 12:29:44 +00:00
Changed zypper update
- Changed to use zypper dup, because that's the way to update openSUSE Tumbleweed and Slowroll installs
This commit is contained in:
parent
445e5b68e2
commit
3980537e2a
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user