mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Compare commits
2 Commits
724b223f70
...
df8182bc12
Author | SHA1 | Date | |
---|---|---|---|
|
df8182bc12 | ||
|
09aea49b2c |
|
@ -4,26 +4,20 @@
|
||||||
|
|
||||||
installWhatsapp() {
|
installWhatsapp() {
|
||||||
printf "%b\n" "${YELLOW}The app we are installing is Zap-Zap, an Open Source Desktop Client for Linux${RC}"
|
printf "%b\n" "${YELLOW}The app we are installing is Zap-Zap, an Open Source Desktop Client for Linux${RC}"
|
||||||
case "$PACKAGER" in
|
if ! command_exists com.rtosta.zapzap && ! command_exists zapzap; then
|
||||||
pacman)
|
printf "%b\n" "${YELLOW}Installing Whatsapp(Zap-Zap by rtosta)${RC}"
|
||||||
if ! command_exists zapzap; then
|
case "$PACKAGER" in
|
||||||
printf "%b\n" "${YELLOW}Installing Whatsapp(Zap-Zap by rtosta) AUR PACKAGE${RC}"
|
pacman)
|
||||||
"$AUR_HELPER" -S --needed --noconfirm zapzap
|
"$AUR_HELPER" -S --needed --noconfirm zapzap
|
||||||
printf "%b\n" "${GREEN}WhatsApp(Zap-Zap by rtosta) is installed. Search ZapZap to start WhatsApp${RC}"
|
;;
|
||||||
return
|
*)
|
||||||
else
|
. ../setup-flatpak.sh
|
||||||
printf "%b\n" "${GREEN}Whatsapp(Zap-Zap by rtosta) is already installed${RC}"
|
flatpak install flathub com.rtosta.zapzap
|
||||||
return
|
;;
|
||||||
fi
|
esac
|
||||||
;;
|
else
|
||||||
*)
|
printf "%b\n" "${GREEN}WhatsApp(Zap-Zap by rtosta) is already installed.${RC}"
|
||||||
. ../setup-flatpak.sh
|
fi
|
||||||
printf "%b\n" "${YELLOW} Installing Whatsapp(Zap-Zap by rtosta) Flatpak ${RC}"
|
|
||||||
flatpak install flathub com.rtosta.zapzap
|
|
||||||
printf "%b\n" "${GREEN}WhatsApp(Zap-Zap by rtosta) is installed. Search ZapZap to start WhatsApp${RC}"
|
|
||||||
return
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
}
|
||||||
|
|
||||||
checkEnv
|
checkEnv
|
||||||
|
|
Loading…
Reference in New Issue
Block a user