linutil/core/tabs/applications-setup/communication-apps/thunderbird-setup.sh
JEEVITHA KANNAN K S 53cbb4b733
refact, fix: Package managers (#629)
* Fix package managers

* Update core/tabs/applications-setup/Developer-tools/githubdesktop-setup.sh

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* Update core/tabs/applications-setup/Developer-tools/vscodium-setup.sh

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* Update core/tabs/applications-setup/Developer-tools/sublime-setup.sh

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* Update core/tabs/applications-setup/Developer-tools/vscode-setup.sh

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

* Update core/tabs/applications-setup/browser-setup.sh

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>

---------

Co-authored-by: Chris Titus <contact@christitus.com>
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
2024-09-22 17:21:05 -05:00

23 lines
574 B
Bash

#!/bin/sh -e
. ../../common-script.sh
installThunderBird() {
if ! command_exists thunderbird; then
printf "%b\n" "${YELLOW}Installing Thunderbird...${RC}"
case "$PACKAGER" in
pacman)
"$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm thunderbird
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y thunderbird
;;
esac
else
printf "%b\n" "${GREEN}Thunderbird is already installed.${RC}"
fi
}
checkEnv
checkEscalationTool
installThunderBird