mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-25 12:59:45 +00:00
25 lines
552 B
Bash
25 lines
552 B
Bash
|
#!/bin/sh -e
|
||
|
|
||
|
. ../../common-script.sh
|
||
|
|
||
|
installZoom() {
|
||
|
if ! command_exists zoom; then
|
||
|
printf "%b\n" "${YELLOW}Installing Zoom...${RC}"
|
||
|
case "$PACKAGER" in
|
||
|
pacman)
|
||
|
"$AUR_HELPER" -S --needed --noconfirm zoom
|
||
|
;;
|
||
|
*)
|
||
|
. ./setup-flatpak.sh
|
||
|
flatpak install -y flathub us.zoom.Zoom
|
||
|
;;
|
||
|
esac
|
||
|
else
|
||
|
printf "%b\n" "${GREEN}Zoom is already installed.${RC}"
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
checkEnv
|
||
|
checkEscalationTool
|
||
|
checkAURHelper
|
||
|
installZoom
|