zypper and pacman added to vivaldi.sh

- zypper and pacman added.
- format fixes.
This commit is contained in:
leventbesli 2024-10-02 12:12:53 +03:00
parent 82719d3f5e
commit 29de3d6a6c

View File

@ -18,6 +18,13 @@ case "$PACKAGER" in
"$ESCALATION_TOOL" "$PACKAGER" config-manager --add-repo https://repo.vivaldi.com/stable/vivaldi-fedora.repo
"$ESCALATION_TOOL" "$PACKAGER" install -y vivaldi-stable
;;
zypper)
"$ESCALATION_TOOL" zypper ar https://repo.vivaldi.com/archive/vivaldi-suse.repo
"$ESCALATION_TOOL" zypper --non-interactive --gpg-auto-import-keys in vivaldi-stable
;;
pacman)
"$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm xdg-utils vivaldi
;;
*)
printf "%b\n" "${RED}Unsupported package manager: ""$PACKAGER""${RC}"
exit 1