linutil/core/tabs/applications-setup/communication-apps/telegram-setup.sh

26 lines
682 B
Bash
Raw Normal View History

added communication apps to application setup + small fix in dev tools (#618) * added communication apps to application setup * Update core/tabs/applications-setup/communication-apps/thunderbird-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/discord-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/jitsi-meet-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/signal-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/telegram-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/discord-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/jitsi-meet-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * add --needed * fix script name. * added task_list * fix sh -c * Update core/tabs/applications-setup/communication-apps/jitsi-setup.sh Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com> * speed up github desktop installation * Update core/tabs/applications-setup/communication-apps/zoom-setup.sh Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com> * Update core/tabs/applications-setup/tab_data.toml Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com> * Update core/tabs/applications-setup/tab_data.toml Co-authored-by: Adam Perkowski <adas1per@protonmail.com> --------- Co-authored-by: Adam Perkowski <adas1per@protonmail.com> Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com>
2024-09-22 18:58:52 +01:00
#!/bin/sh -e
. ../../common-script.sh
installTelegram() {
if ! command_exists telegram-desktop; then
printf "%b\n" "${YELLOW}Installing Telegram...${RC}"
case "$PACKAGER" in
pacman)
"$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm telegram-desktop
;;
apk)
"$ESCALATION_TOOL" "$PACKAGER" add telegram-desktop
;;
added communication apps to application setup + small fix in dev tools (#618) * added communication apps to application setup * Update core/tabs/applications-setup/communication-apps/thunderbird-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/discord-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/jitsi-meet-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/signal-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/telegram-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/discord-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/jitsi-meet-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * add --needed * fix script name. * added task_list * fix sh -c * Update core/tabs/applications-setup/communication-apps/jitsi-setup.sh Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com> * speed up github desktop installation * Update core/tabs/applications-setup/communication-apps/zoom-setup.sh Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com> * Update core/tabs/applications-setup/tab_data.toml Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com> * Update core/tabs/applications-setup/tab_data.toml Co-authored-by: Adam Perkowski <adas1per@protonmail.com> --------- Co-authored-by: Adam Perkowski <adas1per@protonmail.com> Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com>
2024-09-22 18:58:52 +01:00
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y telegram-desktop
added communication apps to application setup + small fix in dev tools (#618) * added communication apps to application setup * Update core/tabs/applications-setup/communication-apps/thunderbird-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/discord-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/jitsi-meet-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/signal-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/telegram-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/discord-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/jitsi-meet-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * add --needed * fix script name. * added task_list * fix sh -c * Update core/tabs/applications-setup/communication-apps/jitsi-setup.sh Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com> * speed up github desktop installation * Update core/tabs/applications-setup/communication-apps/zoom-setup.sh Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com> * Update core/tabs/applications-setup/tab_data.toml Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com> * Update core/tabs/applications-setup/tab_data.toml Co-authored-by: Adam Perkowski <adas1per@protonmail.com> --------- Co-authored-by: Adam Perkowski <adas1per@protonmail.com> Co-authored-by: Nyx <144965845+nnyyxxxx@users.noreply.github.com>
2024-09-22 18:58:52 +01:00
;;
esac
else
printf "%b\n" "${GREEN}Telegram is already installed.${RC}"
fi
}
checkEnv
checkEscalationTool
installTelegram