mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 21:28:48 +00:00
d4eacaeab3
* Fix flatpak paths * Refact office suites flatpak * Merge flatpak_app_exists and command_exists * Fix binary path bug * Add apk pgm --------- Co-authored-by: Chris Titus <contact@christitus.com>
25 lines
577 B
Bash
25 lines
577 B
Bash
#!/bin/sh -e
|
|
|
|
. ../../common-script.sh
|
|
|
|
installZoom() {
|
|
if ! command_exists us.zoom.Zoom && ! command_exists zoom; then
|
|
printf "%b\n" "${YELLOW}Installing Zoom...${RC}"
|
|
case "$PACKAGER" in
|
|
pacman)
|
|
"$AUR_HELPER" -S --needed --noconfirm zoom
|
|
;;
|
|
*)
|
|
checkFlatpak
|
|
flatpak install -y flathub us.zoom.Zoom
|
|
;;
|
|
esac
|
|
else
|
|
printf "%b\n" "${GREEN}Zoom is already installed.${RC}"
|
|
fi
|
|
}
|
|
|
|
checkEnv
|
|
checkEscalationTool
|
|
checkAURHelper
|
|
installZoom |