mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
commit
19e1b7445e
|
@ -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}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user